jekyll-theme-endless 0.5.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.adoc +82 -16
- data/_config.yml +3 -0
- data/_includes/container_end-of-document.html +9 -0
- data/_includes/function_list-posts.html +12 -3
- data/_includes/function_post-in-list-short.html +25 -0
- data/_includes/function_tag-cloud.html +10 -2
- data/_layouts/html.html +2 -0
- data/_layouts/page-postlist.html +3 -1
- data/_layouts/page-tag.html +4 -11
- data/_sass/adoc-admonition.scss +51 -0
- data/_sass/adoc-images.scss +23 -0
- data/_sass/adoc-lists.scss +20 -0
- data/_sass/adoc-quote.scss +48 -0
- data/_sass/adoc-tables.scss +35 -0
- data/_sass/adoc.scss +14 -0
- data/_sass/rouge-highlight.scss +6 -1
- data/_sass/structure.scss +8 -0
- data/_sass/tag-cloud.scss +1 -0
- data/assets/css/main.scss +11 -0
- data/assets/images/tree-3822149_640.jpg +0 -0
- data/lib/jekyll-theme-endless.rb +2 -2
- data/lib/jekyll-theme-endless/version.rb +3 -3
- metadata +12 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: c44a8b0b77f57bf3ef8c3107d45d5993590b951bafe7123b7a3d43aff1755e0f
         | 
| 4 | 
            +
              data.tar.gz: ec822eb3c232ed9e4bceae9459c9ec6d0dc93c366269bf88ce046a61bc17d49e
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 2eb544cacc56b869f3d57935b580d824b11116649541ae2c4b508bd30f245a8e4a933719946f8c46fdcde7cc782e61a4fbaa6ab52f59b016202696d41a484e7e
         | 
| 7 | 
            +
              data.tar.gz: 3a4fd8c1fa675898414c9618d0f4f91dded12bde8bb51e91525a96291b34452fe84f09573dc9c216fd29b1341c54661f3e4ad27916e7693797e0644905b5a938
         | 
    
        data/README.adoc
    CHANGED
    
    | @@ -31,20 +31,31 @@ Add this line to your Jekyll site's `Gemfile`: | |
| 31 31 | 
             
            gem "jekyll-theme-endless"
         | 
| 32 32 | 
             
            ----
         | 
| 33 33 |  | 
| 34 | 
            -
             | 
| 34 | 
            +
            In your Jekyll site's `_config.yml`:
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            . activate the theme
         | 
| 37 | 
            +
            . activate the plugin to generate pages for each tag linked in the tag-cloud
         | 
| 35 38 |  | 
| 36 39 | 
             
            [source,yaml]
         | 
| 37 40 | 
             
            ----
         | 
| 38 41 | 
             
            theme: jekyll-theme-endless
         | 
| 42 | 
            +
            plugins:
         | 
| 43 | 
            +
              - jekyll-theme-endless
         | 
| 39 44 | 
             
            ----
         | 
| 40 45 |  | 
| 41 46 | 
             
            And then execute:
         | 
| 42 47 |  | 
| 43 | 
            -
             | 
| 48 | 
            +
            [source,shell]
         | 
| 49 | 
            +
            ----
         | 
| 50 | 
            +
            bundle
         | 
| 51 | 
            +
            ----
         | 
| 44 52 |  | 
| 45 53 | 
             
            Or install it yourself as:
         | 
| 46 54 |  | 
| 47 | 
            -
             | 
| 55 | 
            +
            [source,shell]
         | 
| 56 | 
            +
            ----
         | 
| 57 | 
            +
            gem install jekyll-theme-endless
         | 
| 58 | 
            +
            ----
         | 
| 48 59 |  | 
| 49 60 |  | 
| 50 61 |  | 
| @@ -56,7 +67,7 @@ via a content delivery network (CDN; here: https://www.jsdelivr.com/). | |
| 56 67 | 
             
            The output of page variables (e.g. `page.title` or `page.menu_label`) is *not escaped* by the theme-layout.
         | 
| 57 68 | 
             
            The reason is, that Jekyll-AsciiDoc (in contrast to Markdown) escapes HTML by default.
         | 
| 58 69 | 
             
            Thus, using (unescaped) HTML-commands e.g. in titles of Markdown posts/pages might break the layout.
         | 
| 59 | 
            -
            If you want to use Markdown AND have HTML-commands in the title, simply escape them (e.g. use  | 
| 70 | 
            +
            If you want to use Markdown AND have HTML-commands in the title, simply escape them (e.g. use `\<` instead of `<`).
         | 
| 60 71 |  | 
| 61 72 |  | 
| 62 73 |  | 
| @@ -67,9 +78,13 @@ Here I describe available layouts, includes, sass and/or assets here. | |
| 67 78 | 
             
            === Layouts
         | 
| 68 79 |  | 
| 69 80 | 
             
            `_layouts/html.html`::
         | 
| 81 | 
            +
             | 
| 70 82 | 
             
            HTML boilerplate code used for all layouts.
         | 
| 71 83 |  | 
| 84 | 
            +
             | 
| 72 85 | 
             
            `_layouts/default.html`::
         | 
| 86 | 
            +
            +
         | 
| 87 | 
            +
            --
         | 
| 73 88 | 
             
            Default website structure (menue, tag cloud, ...) used for pages and posts.
         | 
| 74 89 |  | 
| 75 90 | 
             
            Contains a *navigation bar* with a configurable brand-label.
         | 
| @@ -106,16 +121,20 @@ disclaimer: >- # this means to ignore newlines until the next entry | |
| 106 121 | 
             
              Therefore, many things (e.g. the support of AsciiDoc) are based on personal requirements.
         | 
| 107 122 | 
             
              You are welcome to use the theme (at your own risk) and contribute to the development.
         | 
| 108 123 | 
             
            ----
         | 
| 124 | 
            +
            --
         | 
| 109 125 |  | 
| 110 126 |  | 
| 111 127 | 
             
            `_layouts/page.html`::
         | 
| 128 | 
            +
            +
         | 
| 129 | 
            +
            --
         | 
| 112 130 | 
             
            Layout of page-content.
         | 
| 113 131 |  | 
| 114 132 | 
             
            Start a new page in *AsciiDoc* by adding a file ending with `.adoc`.
         | 
| 115 133 | 
             
            Do not forget the `page-`-prefix when setting page variables.
         | 
| 116 134 | 
             
            Jekyll-AsciiDoc has an https://github.com/asciidoctor/jekyll-asciidoc#specifying-a-layout[auto-detection mechanism for the layout].
         | 
| 117 135 | 
             
            Thus, you typically do not have to set the layout to `page` or `post`.
         | 
| 118 | 
            -
             | 
| 136 | 
            +
             | 
| 137 | 
            +
            [source, asciidoc]
         | 
| 119 138 | 
             
            ----
         | 
| 120 139 | 
             
            = Page title
         | 
| 121 140 | 
             
            :page-layout: page
         | 
| @@ -125,7 +144,7 @@ Content. | |
| 125 144 |  | 
| 126 145 | 
             
            Start a new page in *Markdown* by adding a file ending with `.md`.
         | 
| 127 146 |  | 
| 128 | 
            -
            [source,  | 
| 147 | 
            +
            [source, markdown]
         | 
| 129 148 | 
             
            ----
         | 
| 130 149 | 
             
            ---
         | 
| 131 150 | 
             
            layout: page
         | 
| @@ -136,22 +155,40 @@ layout: page | |
| 136 155 |  | 
| 137 156 | 
             
            Content
         | 
| 138 157 | 
             
            ----
         | 
| 158 | 
            +
            --
         | 
| 139 159 |  | 
| 140 160 | 
             
            `_layouts/page-postlist.html`::
         | 
| 141 161 | 
             
            Layout of page-content with a list of blog posts at the end.
         | 
| 142 162 |  | 
| 163 | 
            +
             | 
| 143 164 | 
             
            `_layouts/page-tag.html`::
         | 
| 165 | 
            +
            +
         | 
| 166 | 
            +
            --
         | 
| 144 167 | 
             
            Layout of pages containing a list of those posts being tagged with a given tag.
         | 
| 145 168 | 
             
            This file is required by the `generate-tagpages`-plugin.
         | 
| 146 169 |  | 
| 170 | 
            +
            It seems that plugins cannot read the files provided by themes.
         | 
| 171 | 
            +
            Thus, the file has to be created in the `_layouts` folder in every Jekyll project.
         | 
| 172 | 
            +
            The content can be for example the following:
         | 
| 173 | 
            +
             | 
| 174 | 
            +
            [source, liquid]
         | 
| 175 | 
            +
            ----
         | 
| 176 | 
            +
            include::_layouts/page-tag.html[]
         | 
| 177 | 
            +
            ----
         | 
| 178 | 
            +
            --
         | 
| 179 | 
            +
             | 
| 180 | 
            +
             | 
| 147 181 | 
             
            `_layouts/post.html`::
         | 
| 182 | 
            +
            +
         | 
| 183 | 
            +
            --
         | 
| 148 184 | 
             
            Layout of blog-posts.
         | 
| 149 185 |  | 
| 150 186 | 
             
            Start a new post in *AsciiDoc* by adding a file ending with `.adoc` to the `_posts/`-folder.
         | 
| 151 187 | 
             
            Do not forget the `page-`-prefix when setting page variables.
         | 
| 152 188 | 
             
            Jekyll-AsciiDoc has an https://github.com/asciidoctor/jekyll-asciidoc#specifying-a-layout[auto-detection mechanism for the layout].
         | 
| 153 189 | 
             
            Thus, you typically do not have to set the layout to `page` or `post`.
         | 
| 154 | 
            -
             | 
| 190 | 
            +
             | 
| 191 | 
            +
            [source, asciidoc]
         | 
| 155 192 | 
             
            ----
         | 
| 156 193 | 
             
            = Page title
         | 
| 157 194 | 
             
            :page-layout: post
         | 
| @@ -161,7 +198,7 @@ Content. | |
| 161 198 |  | 
| 162 199 | 
             
            Start a new post in *Markdown* by adding a file ending with `.md`.
         | 
| 163 200 |  | 
| 164 | 
            -
            [source,  | 
| 201 | 
            +
            [source, markdown]
         | 
| 165 202 | 
             
            ----
         | 
| 166 203 | 
             
            ---
         | 
| 167 204 | 
             
            layout: post
         | 
| @@ -173,12 +210,23 @@ title: Page title | |
| 173 210 |  | 
| 174 211 | 
             
            Content
         | 
| 175 212 | 
             
            ----
         | 
| 213 | 
            +
            --
         | 
| 176 214 |  | 
| 177 215 |  | 
| 178 216 |  | 
| 179 217 | 
             
            === Includes
         | 
| 180 218 |  | 
| 219 | 
            +
            `_includes/container_end-of-document.html`::
         | 
| 220 | 
            +
             | 
| 221 | 
            +
            An empty file that can be overwritten by the user of the theme.
         | 
| 222 | 
            +
            The file is included directly before the `</body>`.
         | 
| 223 | 
            +
            It can be used to e.g. append JavaScript commands to the end of the file
         | 
| 224 | 
            +
            without having to rewrite a complete layout file.
         | 
| 225 | 
            +
             | 
| 226 | 
            +
             | 
| 181 227 | 
             
            `_includes/function_list-pages.html`::
         | 
| 228 | 
            +
            +
         | 
| 229 | 
            +
            --
         | 
| 182 230 | 
             
            Generates the code containing links to each page.
         | 
| 183 231 | 
             
            The text of the link is the title of the page.
         | 
| 184 232 |  | 
| @@ -190,21 +238,32 @@ The order of the links can be determined with the help of the page variable `men | |
| 190 238 | 
             
            Pages with higher numbers appear on the left side of the menu.
         | 
| 191 239 | 
             
            Pages with a negative value for `menu_label` will be hidden from the menu.
         | 
| 192 240 | 
             
            This can be useful for your 404 page, which should be generated by Jekyll, but not visible in the menu.
         | 
| 241 | 
            +
            --
         | 
| 242 | 
            +
             | 
| 193 243 |  | 
| 194 244 | 
             
            `_includes/function_list-posts.html`::
         | 
| 195 | 
            -
            Generates  | 
| 196 | 
            -
             | 
| 245 | 
            +
            Generates a list containing blog posts.
         | 
| 246 | 
            +
             | 
| 247 | 
            +
             | 
| 248 | 
            +
            `_includes/function_post-in-list-short.html`::
         | 
| 249 | 
            +
            Generates the code to display a single post in the list of blog posts.
         | 
| 250 | 
            +
            An entry consists of the title of the blog post linked to the article.
         | 
| 251 | 
            +
            If a permalink is configured for the article, this is indicated by an icon.
         | 
| 252 | 
            +
             | 
| 197 253 |  | 
| 198 254 | 
             
            `_includes/function_tag-cloud.html`::
         | 
| 199 255 | 
             
            Generates a tag cloud.
         | 
| 200 256 |  | 
| 257 | 
            +
             | 
| 201 258 | 
             
            `_includes/content_footer-usernames.html`::
         | 
| 259 | 
            +
            +
         | 
| 260 | 
            +
            --
         | 
| 202 261 | 
             
            Creates a list of contact options based on provided usernames and addresses.
         | 
| 203 262 | 
             
            The entries are preceded with the icons of (e.g.) the social network and are linked to the corresponding profile.
         | 
| 204 263 |  | 
| 205 264 | 
             
            In your `_config.yml` use for example:
         | 
| 206 265 |  | 
| 207 | 
            -
            [source,  | 
| 266 | 
            +
            [source, yaml]
         | 
| 208 267 | 
             
            ----
         | 
| 209 268 | 
             
            email: your-email@example.com
         | 
| 210 269 | 
             
            username_gitlab: XXXX
         | 
| @@ -212,21 +271,27 @@ username_github: XXXX | |
| 212 271 | 
             
            username_xing: XXXX
         | 
| 213 272 | 
             
            username_linkedin: XXXX
         | 
| 214 273 | 
             
            ----
         | 
| 274 | 
            +
            --
         | 
| 275 | 
            +
             | 
| 215 276 |  | 
| 216 277 | 
             
            `_includes/function_tag-list.html`::
         | 
| 217 278 | 
             
            Generates a formatted list of tags.
         | 
| 218 279 | 
             
            This is e.g. used to display the tags of a blog post.
         | 
| 219 280 |  | 
| 220 281 | 
             
            `_includes/function_show-dates.html`::
         | 
| 282 | 
            +
            +
         | 
| 283 | 
            +
            --
         | 
| 221 284 | 
             
            Show the creation date and (if present) the date a blog post was last edited.
         | 
| 222 285 | 
             
            The date of the last edit can be configured by setting a value for the page-variable `lastedit`.
         | 
| 223 286 |  | 
| 224 287 | 
             
            In AsciiDoc this would be e.g.:
         | 
| 225 288 |  | 
| 226 | 
            -
            [source,  | 
| 289 | 
            +
            [source, asciidoc]
         | 
| 227 290 | 
             
            ----
         | 
| 228 291 | 
             
            :page-lastedit: 2020-10-29
         | 
| 229 292 | 
             
            ----
         | 
| 293 | 
            +
            --
         | 
| 294 | 
            +
             | 
| 230 295 |  | 
| 231 296 | 
             
            `_includes/function_show-prev-next-navigation.html`::
         | 
| 232 297 | 
             
            Displays links to the previous and the next post of your blog.
         | 
| @@ -235,15 +300,16 @@ Displays links to the previous and the next post of your blog. | |
| 235 300 |  | 
| 236 301 | 
             
            === Plugins
         | 
| 237 302 |  | 
| 238 | 
            -
            `_plugins/generate-tagpages.rb | 
| 239 | 
            -
             | 
| 303 | 
            +
            `_plugins/generate-tagpages.rb`::
         | 
| 304 | 
            +
            +
         | 
| 305 | 
            +
            --
         | 
| 240 306 | 
             
            Generates a page for each tag listed in `site.tags`.
         | 
| 241 307 | 
             
            The files created are by default named `tags/<tagname>/index.html`.
         | 
| 242 308 | 
             
            The content is generated using the layout file `_layouts/page-tag.html`
         | 
| 243 309 |  | 
| 244 310 | 
             
            The following values can be set in `_config.yml`:
         | 
| 245 311 |  | 
| 246 | 
            -
            [source,  | 
| 312 | 
            +
            [source, yaml]
         | 
| 247 313 | 
             
            ----
         | 
| 248 314 | 
             
            # Settings for tag cloud:
         | 
| 249 315 | 
             
            # The name of the directory in which the files for each tag are created
         | 
| @@ -253,7 +319,7 @@ tag_dir: post-for-tag | |
| 253 319 | 
             
            # default: `Tag: `
         | 
| 254 320 | 
             
            tag_title_prefix: "Posts tagged with: "
         | 
| 255 321 | 
             
            ----
         | 
| 256 | 
            -
             | 
| 322 | 
            +
            --
         | 
| 257 323 |  | 
| 258 324 |  | 
| 259 325 | 
             
            === Styles
         | 
    
        data/_config.yml
    CHANGED
    
    | @@ -30,6 +30,9 @@ asciidoctor: | |
| 30 30 | 
             
                # https://github.com/asciidoctor/jekyll-asciidoc#stylesheet-for-code-highlighting
         | 
| 31 31 | 
             
                # https://github.com/asciidoctor/jekyll-asciidoc/issues/221#issuecomment-526857488
         | 
| 32 32 | 
             
                source-highlighter: rouge
         | 
| 33 | 
            +
                # Activate font-based admonition icons
         | 
| 34 | 
            +
                # https://github.com/asciidoctor/jekyll-asciidoc#font-based-admonition-and-inline-icons
         | 
| 35 | 
            +
                icons: font
         | 
| 33 36 |  | 
| 34 37 |  | 
| 35 38 |  | 
| @@ -0,0 +1,9 @@ | |
| 1 | 
            +
            {% comment %}
         | 
| 2 | 
            +
            This document is planned to be empty.
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            It can be overwritten by the user of the theme in order to
         | 
| 5 | 
            +
            e.g. append JavaScript commands to the end of the file
         | 
| 6 | 
            +
            without having to rewrite a complete layout file.
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            The file is included directly before the </body>.
         | 
| 9 | 
            +
            {% endcomment %}
         | 
| @@ -1,13 +1,22 @@ | |
| 1 1 | 
             
            {% comment %}
         | 
| 2 2 | 
             
            List of blog-posts.
         | 
| 3 | 
            +
            Expects an array of post objects in the parameter `postlist`.
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Call via:
         | 
| 6 | 
            +
            ----
         | 
| 7 | 
            +
            {% include function_list-posts.html
         | 
| 8 | 
            +
            	postlist=POSTLIST
         | 
| 9 | 
            +
            %}
         | 
| 10 | 
            +
            ----
         | 
| 3 11 | 
             
            {% endcomment %}
         | 
| 4 12 |  | 
| 5 13 | 
             
            <ul>
         | 
| 6 | 
            -
            {% for current_post in  | 
| 14 | 
            +
            {% for current_post in include.postlist %}
         | 
| 7 15 | 
             
            	<li>
         | 
| 8 | 
            -
            		{ | 
| 16 | 
            +
            		{% include function_post-in-list-short.html
         | 
| 17 | 
            +
            			post = current_post
         | 
| 18 | 
            +
            		%}
         | 
| 9 19 | 
             
            	</li>
         | 
| 10 20 | 
             
            {% endfor %}
         | 
| 11 21 | 
             
            </ul>
         | 
| 12 22 |  | 
| 13 | 
            -
             | 
| @@ -0,0 +1,25 @@ | |
| 1 | 
            +
            {% comment %}
         | 
| 2 | 
            +
            Processes a single post for display in the list of articles.
         | 
| 3 | 
            +
            Expects a post object as a parameter.
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Call via:
         | 
| 6 | 
            +
            ----
         | 
| 7 | 
            +
            <li>
         | 
| 8 | 
            +
            	{% include function_post-in-list-short.html
         | 
| 9 | 
            +
            		post=current_post
         | 
| 10 | 
            +
            	%}
         | 
| 11 | 
            +
            </li>
         | 
| 12 | 
            +
            ----
         | 
| 13 | 
            +
            {% endcomment %}
         | 
| 14 | 
            +
             | 
| 15 | 
            +
             | 
| 16 | 
            +
            {% assign post = include.post %}
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            {{ post.date | date: "%Y-%m-%d" }}:
         | 
| 19 | 
            +
            {% if post.permalink %}
         | 
| 20 | 
            +
            	{% comment %}
         | 
| 21 | 
            +
            	I use permalinks to indicate that an article was at some point considered beeing finished.
         | 
| 22 | 
            +
            	{% endcomment %}
         | 
| 23 | 
            +
            	 <i class="fa fa-link text-success" title="This article has a permalink."></i>
         | 
| 24 | 
            +
            {% endif %}
         | 
| 25 | 
            +
            <a href="{{ post.url }}">{{ post.title }}</a>
         | 
| @@ -64,8 +64,16 @@ Assumption: Non of the tags occurs more than one million times. | |
| 64 64 | 
             
            		{% endcomment %}
         | 
| 65 65 |  | 
| 66 66 | 
             
            		{% assign number  = site.tags[tag] | size %}
         | 
| 67 | 
            -
            		{%  | 
| 68 | 
            -
             | 
| 67 | 
            +
            		{% comment %}
         | 
| 68 | 
            +
            			Tags that only occur once, should be displayed smaller than 100% in the tag cloud.
         | 
| 69 | 
            +
            		{% endcomment %}
         | 
| 70 | 
            +
            		{% if number == 1 %}
         | 
| 71 | 
            +
            			{% assign percent = 65 %}
         | 
| 72 | 
            +
            		{% else %}
         | 
| 73 | 
            +
            			{% assign percent = number | times: 1.0 | minus: min | times: sizeDifference | divided_by: steps | plus: 100 %}
         | 
| 74 | 
            +
            		{% endif %}
         | 
| 75 | 
            +
             | 
| 76 | 
            +
            		{% assign tagname = tag %}
         | 
| 69 77 |  | 
| 70 78 | 
             
            		<a
         | 
| 71 79 | 
             
            			href  = "/{{ site.tag_dir | default: 'tags' }}/{{ tag }}"
         | 
    
        data/_layouts/html.html
    CHANGED
    
    | @@ -27,6 +27,8 @@ | |
| 27 27 | 
             
            		<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
         | 
| 28 28 | 
             
            		<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha256-jXCJJT3KKcnNjZ3rfsabCj1EX4j2omR4xxm+H5CtywE=" crossorigin="anonymous"></script>
         | 
| 29 29 |  | 
| 30 | 
            +
            		{% include container_end-of-document.html %}
         | 
| 31 | 
            +
             | 
| 30 32 | 
             
            	</body>
         | 
| 31 33 | 
             
            </html>
         | 
| 32 34 |  | 
    
        data/_layouts/page-postlist.html
    CHANGED
    
    
    
        data/_layouts/page-tag.html
    CHANGED
    
    | @@ -13,14 +13,7 @@ page.tag and page.title are set by the plugin `generate-taglist`. | |
| 13 13 | 
             
            	Number of posts tagged with "<em>{{ page.tag }}</em>": <strong>{{ site.tags[ page.tag ] | size }}</strong>
         | 
| 14 14 | 
             
            </p>
         | 
| 15 15 |  | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
            		{{ post.date | date: "%Y-%m-%d" }}: <a href="{{ post.url }}">{{ post.title }}</a>
         | 
| 21 | 
            -
            	</li>
         | 
| 22 | 
            -
             | 
| 23 | 
            -
            	{% endfor %}
         | 
| 24 | 
            -
            </ul>
         | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 16 | 
            +
            {% assign tag_posts = site.tags[page.tag] %}
         | 
| 17 | 
            +
            {% include function_list-posts.html
         | 
| 18 | 
            +
            	postlist=tag_posts
         | 
| 19 | 
            +
            %}
         | 
| @@ -0,0 +1,51 @@ | |
| 1 | 
            +
            div.admonitionblock {
         | 
| 2 | 
            +
            	border-radius: 5px;
         | 
| 3 | 
            +
            	box-shadow: 0 1px 4px #aaa;
         | 
| 4 | 
            +
            	background: #fff;
         | 
| 5 | 
            +
            	color: #111;
         | 
| 6 | 
            +
            }
         | 
| 7 | 
            +
            .admonitionblock table {
         | 
| 8 | 
            +
            	background-color: transparent;
         | 
| 9 | 
            +
            	width: 100%;
         | 
| 10 | 
            +
            	td {
         | 
| 11 | 
            +
            		padding: .75em .25em;
         | 
| 12 | 
            +
            	}
         | 
| 13 | 
            +
            }
         | 
| 14 | 
            +
            /* See:
         | 
| 15 | 
            +
             * https://github.com/asciidoctor/jekyll-asciidoc#font-based-admonition-and-inline-icons
         | 
| 16 | 
            +
             */
         | 
| 17 | 
            +
            span.icon>.fa {
         | 
| 18 | 
            +
            	cursor: default;
         | 
| 19 | 
            +
            }
         | 
| 20 | 
            +
            .admonitionblock td.icon {
         | 
| 21 | 
            +
            	text-align: center;
         | 
| 22 | 
            +
            	width: 66px;
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            	[class^="fa icon-"] {
         | 
| 25 | 
            +
            		font-size: 1.5em;
         | 
| 26 | 
            +
            		text-shadow: 1px 1px 2px rgba(0,0,0,.5);
         | 
| 27 | 
            +
            		cursor: default;
         | 
| 28 | 
            +
            	}
         | 
| 29 | 
            +
            	.icon-note:before {
         | 
| 30 | 
            +
            		content: "\f05a";
         | 
| 31 | 
            +
            		color: #19407c;
         | 
| 32 | 
            +
            	}
         | 
| 33 | 
            +
            	.icon-tip:before {
         | 
| 34 | 
            +
            		content: "\f0eb";
         | 
| 35 | 
            +
            		text-shadow: 1px 1px 2px rgba(155,155,0,.8);
         | 
| 36 | 
            +
            		color: #111;
         | 
| 37 | 
            +
            	}
         | 
| 38 | 
            +
            	.icon-warning:before {
         | 
| 39 | 
            +
            		content: "\f071";
         | 
| 40 | 
            +
            		color: #bf6900;
         | 
| 41 | 
            +
            	}
         | 
| 42 | 
            +
            	.icon-caution:before {
         | 
| 43 | 
            +
            		content: "\f06d";
         | 
| 44 | 
            +
            		color: #bf3400;
         | 
| 45 | 
            +
            	}
         | 
| 46 | 
            +
            	.icon-important:before {
         | 
| 47 | 
            +
            		content: "\f06a";
         | 
| 48 | 
            +
            		color: #bf0000;
         | 
| 49 | 
            +
            	}
         | 
| 50 | 
            +
             | 
| 51 | 
            +
            }
         | 
| @@ -0,0 +1,23 @@ | |
| 1 | 
            +
            /**
         | 
| 2 | 
            +
             * Images.
         | 
| 3 | 
            +
             */
         | 
| 4 | 
            +
            div.imageblock {
         | 
| 5 | 
            +
            	text-align: center;
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            	img {
         | 
| 8 | 
            +
            		/* See also `img-fluid` class from Bootstrap. */
         | 
| 9 | 
            +
            		max-width: 100%;
         | 
| 10 | 
            +
            		height: auto;
         | 
| 11 | 
            +
            		background: #fff;
         | 
| 12 | 
            +
            		border: 1px solid #aaa;
         | 
| 13 | 
            +
            		padding: 10px 10px;
         | 
| 14 | 
            +
            		border-radius: 5px;
         | 
| 15 | 
            +
            	}
         | 
| 16 | 
            +
            	.title {
         | 
| 17 | 
            +
            		padding-top: .75rem;
         | 
| 18 | 
            +
            		padding-bottom: .75rem;
         | 
| 19 | 
            +
            		color: #6c757d;
         | 
| 20 | 
            +
            	}
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            }
         | 
| 23 | 
            +
             | 
| @@ -0,0 +1,20 @@ | |
| 1 | 
            +
            dl{
         | 
| 2 | 
            +
            	dt {
         | 
| 3 | 
            +
            		margin-bottom: .3125em;
         | 
| 4 | 
            +
            		font-weight: bold;
         | 
| 5 | 
            +
            	}
         | 
| 6 | 
            +
            	dd {
         | 
| 7 | 
            +
            		margin-left: .5em;
         | 
| 8 | 
            +
            		padding-left: .5em;
         | 
| 9 | 
            +
            		margin-bottom: 1.25em;
         | 
| 10 | 
            +
            		border-left: 5px solid #dee2e6;
         | 
| 11 | 
            +
            	}
         | 
| 12 | 
            +
            }
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            li {
         | 
| 15 | 
            +
            	p {
         | 
| 16 | 
            +
            		/* Reduce distance between list entries. */
         | 
| 17 | 
            +
            		margin-bottom: .25rem;
         | 
| 18 | 
            +
            	}
         | 
| 19 | 
            +
            }
         | 
| 20 | 
            +
             | 
| @@ -0,0 +1,48 @@ | |
| 1 | 
            +
            .quoteblock {
         | 
| 2 | 
            +
            	margin: 1em 1.5em;
         | 
| 3 | 
            +
            	font-style: italic;
         | 
| 4 | 
            +
            	color: rgba(0,0,0,.6);
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            	& > .title {
         | 
| 7 | 
            +
            		margin-left: -1.5em;
         | 
| 8 | 
            +
            		margin-bottom: .75em;
         | 
| 9 | 
            +
            		font-weight: bold;
         | 
| 10 | 
            +
            	}
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            	blockquote {
         | 
| 13 | 
            +
            		text-align: center;
         | 
| 14 | 
            +
            		background-color: #f8f8f8;
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            		&::before, &::after {
         | 
| 17 | 
            +
            			font-size: 3em;
         | 
| 18 | 
            +
            			font-weight: bold;
         | 
| 19 | 
            +
            			line-height: .6em;
         | 
| 20 | 
            +
            			color: #721;
         | 
| 21 | 
            +
            			text-shadow: 0 1px 2px rgba(0,0,0,.1);
         | 
| 22 | 
            +
            		}
         | 
| 23 | 
            +
            		&::before {
         | 
| 24 | 
            +
            			content: "\201c";
         | 
| 25 | 
            +
            			float: left;
         | 
| 26 | 
            +
            			margin-left: -.6em;
         | 
| 27 | 
            +
            		}
         | 
| 28 | 
            +
            		&::after {
         | 
| 29 | 
            +
            			content: "\201d";
         | 
| 30 | 
            +
            			float: right;
         | 
| 31 | 
            +
            			margin-right: -.6em;
         | 
| 32 | 
            +
            			margin-top: -.6em;
         | 
| 33 | 
            +
            		}
         | 
| 34 | 
            +
            	}
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            	.attribution {
         | 
| 37 | 
            +
            		margin-top: .5em;
         | 
| 38 | 
            +
            		margin-right: .5ex;
         | 
| 39 | 
            +
            		text-align: right;
         | 
| 40 | 
            +
             | 
| 41 | 
            +
            		cite {
         | 
| 42 | 
            +
            			display: block;
         | 
| 43 | 
            +
            			letter-spacing: -.025em;
         | 
| 44 | 
            +
            			font-size: .75em;
         | 
| 45 | 
            +
            		}
         | 
| 46 | 
            +
            	}
         | 
| 47 | 
            +
             | 
| 48 | 
            +
            }
         | 
| @@ -0,0 +1,35 @@ | |
| 1 | 
            +
            /**
         | 
| 2 | 
            +
             * Table blocks.
         | 
| 3 | 
            +
             */
         | 
| 4 | 
            +
            table.tableblock {
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            	thead,
         | 
| 7 | 
            +
            	tfoot {
         | 
| 8 | 
            +
            		background: #e7e8e7;
         | 
| 9 | 
            +
            		font-weight: bold;
         | 
| 10 | 
            +
            	}
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            	th.tableblock,
         | 
| 13 | 
            +
            	td.tableblock {
         | 
| 14 | 
            +
            		border: 0 solid #f00;
         | 
| 15 | 
            +
            		border: 0 solid #dedede;
         | 
| 16 | 
            +
            		padding: .5em .625em;
         | 
| 17 | 
            +
            	}
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            	caption {
         | 
| 20 | 
            +
            		caption-side: top;
         | 
| 21 | 
            +
            	}
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            }
         | 
| 24 | 
            +
             | 
| 25 | 
            +
            p.tableblock {
         | 
| 26 | 
            +
            	margin-bottom: 0;
         | 
| 27 | 
            +
            }
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            table.grid-all {
         | 
| 30 | 
            +
            	th.tableblock,
         | 
| 31 | 
            +
            	td.tableblock {
         | 
| 32 | 
            +
            		border-width: 1px;
         | 
| 33 | 
            +
            	}
         | 
| 34 | 
            +
            }
         | 
| 35 | 
            +
             | 
    
        data/_sass/adoc.scss
    ADDED
    
    
    
        data/_sass/rouge-highlight.scss
    CHANGED
    
    | @@ -3,7 +3,12 @@ | |
| 3 3 | 
             
             */
         | 
| 4 4 |  | 
| 5 5 | 
             
            .highlight {
         | 
| 6 | 
            -
            	@at-root pre#{&} { | 
| 6 | 
            +
            	@at-root pre#{&} {
         | 
| 7 | 
            +
            		-moz-tab-size: 2;
         | 
| 8 | 
            +
            		tab-size: 2;
         | 
| 9 | 
            +
            		background-color: #f8f8f8;
         | 
| 10 | 
            +
            		padding: .5em 1em;
         | 
| 11 | 
            +
            	}
         | 
| 7 12 | 
             
            	.hll { background-color: #ffffcc }
         | 
| 8 13 | 
             
            	.c { color: #080; font-style: italic } /* Comment */
         | 
| 9 14 | 
             
            	.err { color: #AA0000; background-color: #FFAAAA } /* Error */
         | 
    
        data/_sass/tag-cloud.scss
    CHANGED
    
    
    
        data/assets/css/main.scss
    CHANGED
    
    | @@ -11,12 +11,23 @@ | |
| 11 11 | 
             
            @import "address";
         | 
| 12 12 | 
             
            @import "tag-cloud";
         | 
| 13 13 | 
             
            @import "posts";
         | 
| 14 | 
            +
            @import "structure";
         | 
| 14 15 |  | 
| 15 16 | 
             
            /*
         | 
| 16 17 | 
             
             * import styles for highlighting source code that was annotated using rouge.
         | 
| 17 18 | 
             
             */
         | 
| 18 19 | 
             
            @import "rouge-highlight";
         | 
| 19 20 |  | 
| 21 | 
            +
            /*
         | 
| 22 | 
            +
             * import styles for AsciiDoc.
         | 
| 23 | 
            +
             */
         | 
| 24 | 
            +
            @import "adoc";
         | 
| 25 | 
            +
            @import "adoc-admonition";
         | 
| 26 | 
            +
            @import "adoc-tables";
         | 
| 27 | 
            +
            @import "adoc-lists";
         | 
| 28 | 
            +
            @import "adoc-quote";
         | 
| 29 | 
            +
            @import "adoc-images";
         | 
| 30 | 
            +
             | 
| 20 31 | 
             
            /*
         | 
| 21 32 | 
             
             * import SCSS-Code contributed by the user of the theme.
         | 
| 22 33 | 
             
             * imports from _scss/background.scss
         | 
| Binary file | 
    
        data/lib/jekyll-theme-endless.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: jekyll-theme-endless
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.9.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Sven Boekhoff
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020- | 
| 11 | 
            +
            date: 2020-12-09 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: jekyll
         | 
| @@ -34,9 +34,11 @@ files: | |
| 34 34 | 
             
            - LICENSE.txt
         | 
| 35 35 | 
             
            - README.adoc
         | 
| 36 36 | 
             
            - _config.yml
         | 
| 37 | 
            +
            - _includes/container_end-of-document.html
         | 
| 37 38 | 
             
            - _includes/content_footer-usernames.html
         | 
| 38 39 | 
             
            - _includes/function_list-pages.html
         | 
| 39 40 | 
             
            - _includes/function_list-posts.html
         | 
| 41 | 
            +
            - _includes/function_post-in-list-short.html
         | 
| 40 42 | 
             
            - _includes/function_show-dates.html
         | 
| 41 43 | 
             
            - _includes/function_show-prev-next-navigation.html
         | 
| 42 44 | 
             
            - _includes/function_tag-cloud.html
         | 
| @@ -48,12 +50,20 @@ files: | |
| 48 50 | 
             
            - _layouts/page.html
         | 
| 49 51 | 
             
            - _layouts/post.html
         | 
| 50 52 | 
             
            - _sass/address.scss
         | 
| 53 | 
            +
            - _sass/adoc-admonition.scss
         | 
| 54 | 
            +
            - _sass/adoc-images.scss
         | 
| 55 | 
            +
            - _sass/adoc-lists.scss
         | 
| 56 | 
            +
            - _sass/adoc-quote.scss
         | 
| 57 | 
            +
            - _sass/adoc-tables.scss
         | 
| 58 | 
            +
            - _sass/adoc.scss
         | 
| 51 59 | 
             
            - _sass/background.scss
         | 
| 52 60 | 
             
            - _sass/posts.scss
         | 
| 53 61 | 
             
            - _sass/rouge-highlight.scss
         | 
| 62 | 
            +
            - _sass/structure.scss
         | 
| 54 63 | 
             
            - _sass/tag-cloud.scss
         | 
| 55 64 | 
             
            - _sass/user.scss
         | 
| 56 65 | 
             
            - assets/css/main.scss
         | 
| 66 | 
            +
            - assets/images/tree-3822149_640.jpg
         | 
| 57 67 | 
             
            - lib/jekyll-theme-endless.rb
         | 
| 58 68 | 
             
            - lib/jekyll-theme-endless/generate-tagpages.rb
         | 
| 59 69 | 
             
            - lib/jekyll-theme-endless/version.rb
         |