jekyll-theme-endless 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.adoc +144 -3
- data/_config.yml +4 -3
- data/_data/tag-description.yml +37 -0
- data/_data.yml +14 -6
- data/_includes/aside_info.html +13 -0
- data/_includes/aside_more.html +14 -0
- data/_includes/aside_navigation.html +30 -0
- data/_includes/container_end-of-main.html +14 -0
- data/_includes/container_end-of-page.html +14 -0
- data/_includes/container_end-of-post.html +14 -0
- data/_includes/container_start-of-main.html +14 -0
- data/_includes/container_start-of-page.html +14 -0
- data/_includes/container_start-of-post.html +14 -0
- data/_includes/content_footer-powered-by.html +7 -0
- data/_includes/content_footer-usernames.html +5 -5
- data/_includes/function_list-pages.html +4 -1
- data/_includes/function_post-in-list-short.html +4 -1
- data/_includes/function_show-dates.html +2 -2
- data/_includes/function_show-prev-next-navigation.html +47 -16
- data/_includes/function_tag-cloud.html +34 -4
- data/_includes/function_tag-list.html +11 -3
- data/_layouts/default.html +32 -14
- data/_layouts/html.html +27 -1
- data/_layouts/page-tag-template.html +17 -9
- data/_layouts/page.html +14 -1
- data/_layouts/post.html +31 -11
- data/_layouts/statistics.html +22 -3
- data/_sass/adoc-code.scss +26 -0
- data/_sass/adoc-toc.scss +43 -0
- data/_sass/posts.scss +12 -0
- data/_sass/rouge-highlight.scss +3 -1
- data/_sass/structure.scss +40 -2
- data/assets/css/main.scss +2 -0
- data/lib/jekyll-theme-endless/generate-tagpages.rb +7 -1
- data/lib/jekyll-theme-endless/version.rb +1 -1
- metadata +27 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60b46c41a7e2d1ea7e8d81a831eb2c845cb1f6c75644b948958d60c73f3574ae
|
4
|
+
data.tar.gz: e2a96a51e5daf2a464a5aa763dbf7bf34f0508d61f5536a32b764209b6c5ef96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9a0e06c8822104785c86231c4a10c649ea7ee8d2f2702e03caa034624d795c35c47f86a29bff6b2b50be1ff876df43b2582d1e607623ee202d8c5631b39c83f
|
7
|
+
data.tar.gz: 97f3aec66a0b12da78bf5e5d2f03a865e238ffbe43cc3a6e41ad40f57de1a4e67dc8351327e7ee88050185d397076e64de468e799c0a649418441ba70353bd86
|
data/LICENSE.txt
CHANGED
data/README.adoc
CHANGED
@@ -1,14 +1,18 @@
|
|
1
1
|
= jekyll-theme-endless
|
2
2
|
:page-menu_label: Documentation
|
3
3
|
:page-menu_position: 300
|
4
|
+
:toc: preamble
|
5
|
+
:toclevels: 3
|
6
|
+
:page-summary: "Explore the documentation for jekyll-theme-endless: a Jekyll theme for AsciiDoc blogging, featuring tag cloud, code highlighting, responsive design, and more."
|
4
7
|
|
5
8
|
|
6
9
|
|
7
10
|
`jekyll-theme-endless` is a theme for the static site generator https://jekyllrb.com/[Jekyll].
|
8
11
|
The theme is ready to be used with posts written in https://asciidoctor.org/[AsciiDoc] using the
|
9
12
|
https://github.com/asciidoctor/jekyll-asciidoc[Jekyll AsciiDoc plugin].
|
10
|
-
Moreover, it is shipped with a plugin that generates a *tag cloud
|
13
|
+
Moreover, it is shipped with a plugin that generates a *tag cloud* and a page for each tag, listing all posts associated with it.
|
11
14
|
The syntax of source code is highlighted using https://github.com/rouge-ruby/rouge/wiki/List-of-supported-languages-and-lexers[Rouge].
|
15
|
+
Below you'll find a link:#features[list of the key features of this theme].
|
12
16
|
|
13
17
|
The repository of this Jekyll theme is located at:
|
14
18
|
https://gitlab.com/jekyll-theme-endless/jekyll-theme-endless.gitlab.io.
|
@@ -17,12 +21,18 @@ The gem is published on https://rubygems.org/gems/jekyll-theme-endless.
|
|
17
21
|
|
18
22
|
|
19
23
|
|
24
|
+
|
25
|
+
|
20
26
|
== Quicktstart for testing
|
21
27
|
|
22
28
|
* Clone the repository
|
23
29
|
* Run `bundle exec jekyll serve --config _config.yml,_data.yml`
|
24
30
|
* Open http://127.0.0.1:4000/ to view a page using this theme
|
25
31
|
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
26
36
|
== Installation
|
27
37
|
|
28
38
|
Add this line to your Jekyll site's `Gemfile`:
|
@@ -60,6 +70,22 @@ gem install jekyll-theme-endless
|
|
60
70
|
|
61
71
|
|
62
72
|
|
73
|
+
|
74
|
+
|
75
|
+
[[features]]
|
76
|
+
== Features
|
77
|
+
|
78
|
+
include::content/features.adoc[]
|
79
|
+
|
80
|
+
|
81
|
+
=== Planned features
|
82
|
+
|
83
|
+
include::content/features-planned.adoc[]
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
63
89
|
== General information
|
64
90
|
|
65
91
|
The theme is styled using https://getbootstrap.com/[Bootstrap] that is added
|
@@ -72,6 +98,25 @@ If you want to use Markdown AND have HTML-commands in the title, simply escape t
|
|
72
98
|
|
73
99
|
|
74
100
|
|
101
|
+
|
102
|
+
|
103
|
+
== Example posts and pages
|
104
|
+
|
105
|
+
The project repository contains
|
106
|
+
|
107
|
+
* Two example posts with examples and explanations on which front matter variables you can use in posts and pages, and how to use them.
|
108
|
+
** link:/asciidoc-example/[Example post for AsciiDoc with explanations]
|
109
|
+
** link:/markdown-example/[Example post for Markdown with explanations]
|
110
|
+
* Two example pages (the showrooms) where you can explore the features of Markdown and AsciiDoc. In the source code, you can see how to implement these yourself.
|
111
|
+
** link:/asciidoc-showroom/[AsciiDoc Showroom]
|
112
|
+
** link:/markdown-showroom/[Markdown Showroom]
|
113
|
+
|
114
|
+
CAUTION: If you want to use special characters in your tags, you need to create them through the Jekyll front matter instead of the AsciiDoc variable `page-tags`. Further explanations can be found in the examples above and the link:/release-0.12.X/[release notes of version 0.12.0].
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
75
120
|
== Usage
|
76
121
|
|
77
122
|
Here I describe available layouts, includes, SASS- and other assets.
|
@@ -88,6 +133,8 @@ This will copy the theme-folder containing all its files into the current direct
|
|
88
133
|
From there, you can selectively move files to your project and modify them as needed.
|
89
134
|
Your (modified) copy will afterwards overwrite the contents provided by the theme.
|
90
135
|
|
136
|
+
NOTE: Whenever you create custom versions of files in this theme, consider whether they might also be useful for others. In that case, you could contribute the changes to the project. Feel free to contact me about it.
|
137
|
+
|
91
138
|
|
92
139
|
|
93
140
|
=== Layouts
|
@@ -97,6 +144,7 @@ Your (modified) copy will afterwards overwrite the contents provided by the them
|
|
97
144
|
HTML boilerplate code used for all layouts.
|
98
145
|
|
99
146
|
|
147
|
+
|
100
148
|
`_layouts/default.html`::
|
101
149
|
+
|
102
150
|
--
|
@@ -106,6 +154,8 @@ Contains a *navigation bar* with a configurable brand-label.
|
|
106
154
|
Set `brand` in your `_config.yml`, to determine what is shown on the left side of the navigation.
|
107
155
|
Example:
|
108
156
|
|
157
|
+
TIP: The values for `brand`, `title` and `subtitle` are _not_ escaped by the layout. Thus, you _can_ use HTML-commands.
|
158
|
+
|
109
159
|
[source, yaml]
|
110
160
|
----
|
111
161
|
brand: '"<i>endless</i>"-Theme'
|
@@ -139,6 +189,7 @@ disclaimer: >- # this means to ignore newlines until the next entry
|
|
139
189
|
--
|
140
190
|
|
141
191
|
|
192
|
+
|
142
193
|
`_layouts/page.html`::
|
143
194
|
+
|
144
195
|
--
|
@@ -172,10 +223,13 @@ Content
|
|
172
223
|
----
|
173
224
|
--
|
174
225
|
|
226
|
+
|
227
|
+
|
175
228
|
`_layouts/page-postlist.html`::
|
176
229
|
Layout of page-content with a list of blog posts at the end.
|
177
230
|
|
178
231
|
|
232
|
+
|
179
233
|
`_layouts/page-tag.html`::
|
180
234
|
+
|
181
235
|
--
|
@@ -200,6 +254,7 @@ include::_layouts/page-tag.html[]
|
|
200
254
|
--
|
201
255
|
|
202
256
|
|
257
|
+
|
203
258
|
`_layouts/page-tag-template.html`::
|
204
259
|
+
|
205
260
|
--
|
@@ -208,6 +263,7 @@ This file is a template layout that can be included in `page-tag.html`.
|
|
208
263
|
--
|
209
264
|
|
210
265
|
|
266
|
+
|
211
267
|
`_layouts/post.html`::
|
212
268
|
+
|
213
269
|
--
|
@@ -256,6 +312,28 @@ I typically use this page as a layout for my "about" page.
|
|
256
312
|
|
257
313
|
=== Includes
|
258
314
|
|
315
|
+
`_includes/aside_navigation.html`::
|
316
|
+
|
317
|
+
The first of three elements displayed alongside the page content (or at the end of the page on mobile devices).
|
318
|
+
This typically contains blog navigation elements such as 'Recent Articles,' 'Tag Cloud,' etc.
|
319
|
+
It's best practice to wrap the content in an `<aside>` element.
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
`_includes/aside_info.html`::
|
324
|
+
|
325
|
+
The second of the three elements, typically providing additional information about the blog (e.g., a link to the RSS feed).
|
326
|
+
This content is also ideally wrapped in an `<aside>` element.
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
`_includes/aside_more.html`::
|
331
|
+
|
332
|
+
The third of the three elements is typically used to display links to partner sites, sponsorships, or advertisements relevant to the blog's audience.
|
333
|
+
Similar to the other sections, this content is best organized within an `<aside>` element to ensure it complements the main content without disrupting the reader's experience.
|
334
|
+
|
335
|
+
|
336
|
+
|
259
337
|
`_includes/container_end-of-document.html`::
|
260
338
|
|
261
339
|
An empty file that can be overwritten by the user of the theme.
|
@@ -264,6 +342,43 @@ It can be used to e.g. append JavaScript commands to the end of the file
|
|
264
342
|
without having to rewrite a complete layout file.
|
265
343
|
|
266
344
|
|
345
|
+
|
346
|
+
`_includes/container_start-of-main.html`::
|
347
|
+
|
348
|
+
The content of this file is inserted *above* the main content area (the section containing the page content and blog navigation). The content should be wrapped in a `<div>` element.
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
`_includes/container_end-of-main.html`::
|
353
|
+
|
354
|
+
The content of this file is inserted *below* the main content area — above the footer. The content should be wrapped in a `<div>` element.
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
`_includes/container_start-of-page.html`::
|
359
|
+
|
360
|
+
The content of this file is inserted between the heading and the main content of the page. The content should be enclosed within a `<div>` element.
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
`_includes/container_end-of-page.html`::
|
365
|
+
|
366
|
+
The content of this file is inserted at the end of the page content—directly after the main page content. The content should be enclosed within a `<div>` element.
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
`_includes/container_start-of-post.html`::
|
371
|
+
|
372
|
+
The content of this file is inserted between the tag list and the main content of the post. The content should be enclosed within a `<div>` element.
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
`_includes/container_end-of-post.html`::
|
377
|
+
|
378
|
+
The content of this file is inserted at the end of the post, below the navigation buttons linking to the previous and next posts. The content should be enclosed within a `<div>` element.
|
379
|
+
|
380
|
+
|
381
|
+
|
267
382
|
`_includes/function_list-pages.html`::
|
268
383
|
+
|
269
384
|
--
|
@@ -282,20 +397,31 @@ This can be useful for your 404 page, which should be generated by Jekyll, but n
|
|
282
397
|
--
|
283
398
|
|
284
399
|
|
400
|
+
|
285
401
|
`_includes/function_list-posts.html`::
|
286
402
|
Generates a list containing blog posts.
|
287
403
|
|
288
404
|
|
405
|
+
|
289
406
|
`_includes/function_post-in-list-short.html`::
|
290
407
|
Generates the code to display a single post in the list of blog posts.
|
291
408
|
An entry consists of the title of the blog post linked to the article.
|
292
409
|
If a permalink is configured for the article, this is indicated by an icon.
|
293
410
|
|
294
411
|
|
412
|
+
|
295
413
|
`_includes/function_tag-cloud.html`::
|
296
414
|
Generates a tag cloud.
|
297
415
|
|
298
416
|
|
417
|
+
|
418
|
+
`_includes/content_footer-powered-by.html`::
|
419
|
+
|
420
|
+
Contains the information at the very bottom right of the footer, where the powered-by details are displayed.
|
421
|
+
This section can be replaced or removed as desired.
|
422
|
+
|
423
|
+
|
424
|
+
|
299
425
|
`_includes/content_footer-usernames.html`::
|
300
426
|
+
|
301
427
|
--
|
@@ -315,25 +441,29 @@ username_linkedin: XXXX
|
|
315
441
|
--
|
316
442
|
|
317
443
|
|
444
|
+
|
318
445
|
`_includes/function_tag-list.html`::
|
319
446
|
Generates a formatted list of tags.
|
320
447
|
This is e.g. used to display the tags of a blog post.
|
321
448
|
|
449
|
+
|
450
|
+
|
322
451
|
`_includes/function_show-dates.html`::
|
323
452
|
+
|
324
453
|
--
|
325
454
|
Show the creation date and (if present) the date a blog post was last edited.
|
326
|
-
The date of the last edit can be configured by setting a value for the page-variable `
|
455
|
+
The date of the last edit can be configured by setting a value for the page-variable `last_modified_at`.
|
327
456
|
|
328
457
|
In AsciiDoc this would be e.g.:
|
329
458
|
|
330
459
|
[source, asciidoc]
|
331
460
|
----
|
332
|
-
:page-
|
461
|
+
:page-last_modified_at: 2024-10-27
|
333
462
|
----
|
334
463
|
--
|
335
464
|
|
336
465
|
|
466
|
+
|
337
467
|
`_includes/function_show-prev-next-navigation.html`::
|
338
468
|
Displays links to the previous and the next post of your blog.
|
339
469
|
|
@@ -363,6 +493,7 @@ tag_title_prefix: "Posts tagged with: "
|
|
363
493
|
--
|
364
494
|
|
365
495
|
|
496
|
+
|
366
497
|
=== Styles
|
367
498
|
|
368
499
|
In order to contribute SCSS-code, simply add a file `_sass/user.scss`, containing your SCSS-code.
|
@@ -382,6 +513,7 @@ additional-stylesheets:
|
|
382
513
|
----
|
383
514
|
|
384
515
|
|
516
|
+
|
385
517
|
=== Data-files
|
386
518
|
|
387
519
|
`_data/tag-description.yml`::
|
@@ -423,6 +555,9 @@ I use, for example:
|
|
423
555
|
--
|
424
556
|
|
425
557
|
|
558
|
+
|
559
|
+
|
560
|
+
|
426
561
|
== Settings
|
427
562
|
|
428
563
|
=== Language
|
@@ -436,6 +571,8 @@ The default is `en`.
|
|
436
571
|
|
437
572
|
|
438
573
|
|
574
|
+
|
575
|
+
|
439
576
|
== Contributing
|
440
577
|
|
441
578
|
Bug reports and pull requests are welcome on GitLab at https://gitlab.com/jekyll-theme-endless/jekyll-theme-endless.gitlab.io.
|
@@ -444,6 +581,8 @@ and contributors are expected to adhere to the http://contributor-covenant.org[C
|
|
444
581
|
|
445
582
|
|
446
583
|
|
584
|
+
|
585
|
+
|
447
586
|
== Development
|
448
587
|
|
449
588
|
To set up your environment to develop this theme:
|
@@ -468,6 +607,8 @@ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-t
|
|
468
607
|
|
469
608
|
|
470
609
|
|
610
|
+
|
611
|
+
|
471
612
|
== License
|
472
613
|
|
473
614
|
The theme is available as open source under the terms of the https://opensource.org/licenses/MIT[MIT License].
|
data/_config.yml
CHANGED
@@ -54,7 +54,7 @@ asciidoctor:
|
|
54
54
|
|
55
55
|
# `plugins` specifies the list of plugins that are installed via RubyGems and managed through Bundler.
|
56
56
|
# These are typically shared or third-party plugins available in the RubyGems ecosystem.
|
57
|
-
|
57
|
+
plugins:
|
58
58
|
# Required to load the plugin that generates the tag pages.
|
59
59
|
# jekyll-theme-endless is both a theme AND a plugin.
|
60
60
|
# NOT required in the repository that provides the plugin.
|
@@ -62,8 +62,9 @@ asciidoctor:
|
|
62
62
|
# Local plugins are configured via the `plugins_dir` setting,
|
63
63
|
# which in this project has been outsourced to `_data.yml`.
|
64
64
|
#- jekyll-theme-endless
|
65
|
-
#
|
66
|
-
#
|
65
|
+
# Generate an RSS-file with the blog-content
|
66
|
+
# See https://github.com/jekyll/jekyll-feed for configuration
|
67
|
+
- jekyll-feed
|
67
68
|
|
68
69
|
# Exclude files from processing.
|
69
70
|
#
|
data/_data/tag-description.yml
CHANGED
@@ -1,3 +1,40 @@
|
|
1
|
+
GDPR:
|
2
|
+
short: "GDPR (General Data Protection Regulation) is a regulation enacted by the European Union to protect individuals' privacy and personal data. It imposes strict guidelines on how organizations collect, store, process, and share personal data of EU residents. Compliance with GDPR is essential for businesses handling such data, with requirements including data protection by design, user consent, and the right to access and erase data. Non-compliance can result in significant penalties."
|
3
|
+
Schema.org:
|
4
|
+
short: "Schema.org is a collaborative, standardized vocabulary that provides structured data markup to help search engines better understand the content on web pages. By adding Schema.org tags to HTML, content such as events, reviews, and products can appear as rich snippets in search results, enhancing visibility and user engagement. In Jekyll, Schema.org markup can be added to templates to improve SEO and provide more context to search engines."
|
5
|
+
SEO:
|
6
|
+
short: "SEO (Search Engine Optimization) refers to strategies and practices aimed at improving a website's visibility in search engine results. Effective SEO enhances a site's ranking by optimizing content, keywords, meta tags, and site structure to attract more organic traffic. In Jekyll, SEO best practices can be implemented through plugins, structured data, and thoughtful content organization."
|
7
|
+
known issues:
|
8
|
+
short: "Known issues are documented problems or limitations within a software application that are acknowledged by developers but may not yet have a solution. These can include bugs, compatibility issues, or performance limitations. Known issues are often shared in release notes or support documentation to keep users informed and to suggest potential workarounds until fixes are available."
|
9
|
+
A&B:
|
10
|
+
short: "Tag for testing the escaping bahaviour of Markdown and AsciiDoc frontmatter."
|
11
|
+
escaping:
|
12
|
+
short: "The process of using special characters or sequences to prevent specific symbols from being interpreted in code or markup, often necessary for handling HTML, YAML, or Markdown."
|
13
|
+
security:
|
14
|
+
short: "Measures and practices used to protect software, systems, and data from unauthorized access, attacks, or vulnerabilities, essential in all stages of development."
|
15
|
+
special chars:
|
16
|
+
short: "Characters with special functions in code or markup, like &, <, >, which may need to be escaped to ensure proper display or functionality in web content or code."
|
17
|
+
test-page:
|
18
|
+
short: "A page created to test functionality, design, or layout before publishing. Useful for checking formatting, scripts, or custom styles in a controlled environment."
|
19
|
+
frontmatter:
|
20
|
+
short: "A YAML or JSON block at the beginning of a Jekyll file that contains metadata about the page, such as title, layout, and tags, which Jekyll uses to generate content dynamically."
|
21
|
+
permalink:
|
22
|
+
short: "A permalink (permanent link) is a stable URL that links to a specific page, post, or content piece on a website. Permalinks are designed to remain unchanged indefinitely, ensuring that links to the content will not break over time. In Jekyll, permalinks can be customized to control the URL structure for individual pages or posts, improving both user experience and SEO."
|
23
|
+
release notes:
|
24
|
+
short: "Release notes are documents that provide information about new features, bug fixes, improvements, and known issues in a new software version. They help users and developers understand changes between versions and can include details on compatibility, upgrade steps, and resolved issues. Release notes are essential for keeping stakeholders informed about software progress and updates."
|
25
|
+
pages:
|
26
|
+
short: "Static or dynamic web pages in a Jekyll site, typically containing content that isn't organized chronologically, such as 'About' or 'Contact' sections."
|
27
|
+
_includes:
|
28
|
+
short: "A special directory in Jekyll where reusable code snippets or partial templates, such as headers, footers, or navigation menus, are stored. Files in the _includes folder can be inserted into other templates using Liquid tags, allowing for modular and maintainable site layouts."
|
29
|
+
RSS:
|
30
|
+
short: "RSS (Really Simple Syndication) is a web feed format that allows users and applications to receive updates from websites in a standardized format. By subscribing to an RSS feed, users can stay informed about new content, such as blog posts or news articles, without visiting the site directly. RSS feeds are commonly used in news aggregators and feed readers."
|
31
|
+
|
32
|
+
TOC:
|
33
|
+
short: "TOC (Table of Contents) is a navigational aid that lists the main sections or headings of a document, allowing readers to quickly find and jump to specific content. In web content, a TOC is often generated automatically based on headings and can be particularly useful for lengthy pages or articles."
|
34
|
+
.gitlab-ci.yml:
|
35
|
+
short: "A YAML file used to define GitLab CI/CD pipeline configurations, specifying jobs, stages, and conditions for automated testing, deployment, or other tasks in GitLab."
|
36
|
+
LICENSE.txt:
|
37
|
+
short: "A file in a project that outlines the terms and conditions under which the software can be used, modified, or shared, commonly chosen from open-source licenses."
|
1
38
|
SASS:
|
2
39
|
short: "SASS (Syntactically Awesome Stylesheets) is a CSS preprocessor that adds advanced features like variables, nested rules, and mixins to standard CSS. SASS has two syntax options: the older indented syntax (SASS) and the newer, more CSS-like syntax (SCSS). The SASS syntax uses indentation instead of curly braces and semicolons, while SCSS is more similar to traditional CSS and is often preferred for its familiarity."
|
3
40
|
cleanup:
|
data/_data.yml
CHANGED
@@ -6,13 +6,12 @@
|
|
6
6
|
|
7
7
|
# Language. Is overriden by value of page.lang.
|
8
8
|
lang: en
|
9
|
-
# Brand is not escaped in the layout.
|
10
|
-
# Thus, HTML-commands can be used.
|
11
|
-
brand: '"<i>endless</i>"-Theme'
|
12
9
|
|
13
|
-
#
|
14
|
-
|
15
|
-
|
10
|
+
# NOTE: The values of the variables 'brand', 'title' and 'subtitle'
|
11
|
+
# are NOT escaped in the layout. This allows you to use HTML commands.
|
12
|
+
brand: '"<em>endless</em>"-Theme'
|
13
|
+
title: "<code>jekyll-theme-endless</code>"
|
14
|
+
subtitle: "A Jekyll Theme ready for <strong><em>AsciiDoc</em></strong>"
|
16
15
|
|
17
16
|
author: Sven Boekhoff
|
18
17
|
copydate: 2020-2024
|
@@ -39,6 +38,10 @@ tag_dir: posts-for-tag
|
|
39
38
|
# Prefix to be used for the title of the tag-page
|
40
39
|
# default: `Tag: `
|
41
40
|
tag_title_prefix: "Posts tagged with: "
|
41
|
+
# Should the tag descriptions be displayed as titles in the tag cloud?
|
42
|
+
# This can make individual pages very large, especially with a high number of terms.
|
43
|
+
# On the individual tag pages, the description will still be displayed regardless of this setting.
|
44
|
+
tag_show_description_in_tagcloud: true
|
42
45
|
|
43
46
|
# You can dynamically add import statements to assets/css/main.css
|
44
47
|
# Just add the path (relative to the folder `_sass`) to this array
|
@@ -46,6 +49,11 @@ tag_title_prefix: "Posts tagged with: "
|
|
46
49
|
additional-stylesheets:
|
47
50
|
- "../theme-specific/debug"
|
48
51
|
|
52
|
+
# Use CDN for external JavaScript libraries (e.g., jQuery, Bootstrap).
|
53
|
+
# Set to true to load scripts from a CDN for faster loading times.
|
54
|
+
# If not specified, defaults to true.
|
55
|
+
use-cdn: true
|
56
|
+
|
49
57
|
|
50
58
|
|
51
59
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This file contains the second of the three elements, which provides additional information about the blog, such as a link to the RSS feed.
|
3
|
+
This content is also best organized within an <aside> element to keep it distinct from the main content.
|
4
|
+
{% endcomment %}
|
5
|
+
<aside>
|
6
|
+
<h3>InfoBox</h3>
|
7
|
+
<div class="col">
|
8
|
+
<p class="rss-subscribe">
|
9
|
+
You can also follow this blog <a href="{{ "/feed.xml" | relative_url }}" class="rss">via RSS</a>.
|
10
|
+
</p>
|
11
|
+
</div>
|
12
|
+
</aside>
|
13
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This file contains the third of the three elements, often used to display links to partner sites or advertisements.
|
3
|
+
This section is intended to showcase external resources or sponsored content relevant to the blog’s audience,
|
4
|
+
and it is also best placed within an <aside> element.
|
5
|
+
|
6
|
+
<aside>
|
7
|
+
<h3>Ads</h3>
|
8
|
+
<div class="col">
|
9
|
+
Ads
|
10
|
+
</div>
|
11
|
+
</aside>
|
12
|
+
|
13
|
+
{% endcomment %}
|
14
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This file contains the first of the three elements displayed alongside the page content (or at the end of the page on mobile devices).
|
3
|
+
It typically includes blog navigation, such as 'Recent Articles' or 'Tag Cloud,' and is ideally wrapped in an <aside> element.
|
4
|
+
{% endcomment %}
|
5
|
+
<aside>
|
6
|
+
<h3>Blog Navigation</h3>
|
7
|
+
|
8
|
+
<!-- Number of posts -->
|
9
|
+
<p>
|
10
|
+
Total number of posts: <strong>{{ site.posts | size }}</strong>
|
11
|
+
</p>
|
12
|
+
|
13
|
+
<!-- Recent Posts -->
|
14
|
+
<h4>Recent Posts:</h4>
|
15
|
+
<ul>
|
16
|
+
{% assign postlist = site.posts | sort:"date" | reverse %}
|
17
|
+
{% for post in postlist offset: 0 limit: 5 %}
|
18
|
+
{% comment %}
|
19
|
+
'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
|
20
|
+
{% endcomment %}
|
21
|
+
<li><a href="{{ post.url | relative_url }}">{{ post.title }}</a></li>
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
|
25
|
+
<!-- Tag Cloud -->
|
26
|
+
<h4>Tag Cloud:</h4>
|
27
|
+
{% include function_tag-cloud.html %}
|
28
|
+
|
29
|
+
</aside>
|
30
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This document is empty by default.
|
3
|
+
It can be supplemented with user content that will be displayed below the main content area — above the footer.
|
4
|
+
This allows you to add content without needing to modify the entire layout.
|
5
|
+
The content should be enclosed within a <div> element.
|
6
|
+
|
7
|
+
If you want to check the position of this element, simply move the following code block from the comment section down to where it will render.
|
8
|
+
|
9
|
+
<div style="background-color: blueviolet; font-size: 3em; font-weight: bold; text-align: center;">
|
10
|
+
END of MAIN
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{% endcomment %}
|
14
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This document is empty by default.
|
3
|
+
It can be extended with user content that will display at the end of the page content — directly after the main content.
|
4
|
+
This allows you to add content without needing to change the entire layout.
|
5
|
+
The content should be enclosed within a <div> element.
|
6
|
+
|
7
|
+
To check the position of this element, simply move the following code block from the comment section down to where it will render.
|
8
|
+
|
9
|
+
<div style="background-color: blueviolet; font-size: 3em; font-weight: bold; text-align: center;">
|
10
|
+
END of PAGE
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{% endcomment %}
|
14
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This document is empty by default.
|
3
|
+
It can be extended with user content that will display at the end of the post, below the navigation buttons linking to the previous and next posts.
|
4
|
+
This allows you to add content without needing to modify the entire layout.
|
5
|
+
The content should be enclosed within a <div> element.
|
6
|
+
|
7
|
+
To check the position of this element, simply move the following code block from the comment section down to where it will render.
|
8
|
+
|
9
|
+
<div style="background-color: blueviolet; font-size: 3em; font-weight: bold; text-align: center;">
|
10
|
+
END of POST
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{% endcomment %}
|
14
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This document is empty by default.
|
3
|
+
It can be extended with user content that will display above the main content area (the section containing the page content and blog navigation).
|
4
|
+
This allows you to add content without needing to modify the entire layout.
|
5
|
+
The content should be enclosed within a <div> element.
|
6
|
+
|
7
|
+
To check the position of this element, simply move the following code block from the comment section down to where it will render.
|
8
|
+
|
9
|
+
<div style="background-color: greenyellow; font-size: 3em; font-weight: bold; text-align: center;">
|
10
|
+
START of MAIN
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{% endcomment %}
|
14
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This document is empty by default.
|
3
|
+
It can be extended with user content that will display between the heading and the main content of the page.
|
4
|
+
This allows you to add content without needing to modify the entire layout.
|
5
|
+
The content should be enclosed within a <div> element.
|
6
|
+
|
7
|
+
To check the position of this element, simply move the following code block from the comment section down to where it will render.
|
8
|
+
|
9
|
+
<div style="background-color: greenyellow; font-size: 3em; font-weight: bold; text-align: center;">
|
10
|
+
START of PAGE
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{% endcomment %}
|
14
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This document is empty by default.
|
3
|
+
It can be extended with user content that will display between the tag list and the main content of the post.
|
4
|
+
This allows you to add content without needing to modify the entire layout.
|
5
|
+
The content should be enclosed within a <div> element.
|
6
|
+
|
7
|
+
To check the position of this element, simply move the following code block from the comment section down to where it will render.
|
8
|
+
|
9
|
+
<div style="background-color: greenyellow; font-size: 3em; font-weight: bold; text-align: center;">
|
10
|
+
START of POST
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{% endcomment %}
|
14
|
+
|
@@ -6,31 +6,31 @@ List of contacts in adress-bar.
|
|
6
6
|
{% if site.username_gitlab %}
|
7
7
|
<li>
|
8
8
|
<i class="fa fa-gitlab"></i>
|
9
|
-
<a href="https://gitlab.com/{{ site.username_gitlab }}">{{ site.username_gitlab }}</a>
|
9
|
+
<a href="https://gitlab.com/{{ site.username_gitlab | escape }}">{{ site.username_gitlab | escape }}</a>
|
10
10
|
</li>
|
11
11
|
{% endif %}
|
12
12
|
{% if site.username_github %}
|
13
13
|
<li>
|
14
14
|
<i class="fa fa-github"></i>
|
15
|
-
<a href="https://github.com/{{ site.username_github }}">{{ site.username_github }}</a>
|
15
|
+
<a href="https://github.com/{{ site.username_github | escape }}">{{ site.username_github | escape }}</a>
|
16
16
|
</li>
|
17
17
|
{% endif %}
|
18
18
|
{% if site.username_xing %}
|
19
19
|
<li>
|
20
20
|
<i class="fa fa-xing"></i>
|
21
|
-
<a href="https://www.xing.com/profile/{{ site.username_xing }}">{{ site.username_xing }}</a>
|
21
|
+
<a href="https://www.xing.com/profile/{{ site.username_xing | escape }}">{{ site.username_xing | escape }}</a>
|
22
22
|
</li>
|
23
23
|
{% endif %}
|
24
24
|
{% if site.username_linkedin %}
|
25
25
|
<li>
|
26
26
|
<i class="fa fa-linkedin"></i>
|
27
|
-
<a href="https://de.linkedin.com/in/{{ site.username_linkedin }}">{{ site.username_linkedin }}</a>
|
27
|
+
<a href="https://de.linkedin.com/in/{{ site.username_linkedin | escape }}">{{ site.username_linkedin | escape }}</a>
|
28
28
|
</li>
|
29
29
|
{% endif %}
|
30
30
|
{% if site.email %}
|
31
31
|
<li>
|
32
32
|
<i class="fa fa-at"></i>
|
33
|
-
<a href="mailto:{{ site.email }}">{{ site.email }}</a>
|
33
|
+
<a href="mailto:{{ site.email | escape }}">{{ site.email | escape }}</a>
|
34
34
|
</li>
|
35
35
|
{% endif %}
|
36
36
|
</ul>
|