jekyll-theme-endless 0.13.3 → 0.13.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: acc1db10380199ac07e9b00288b41dc25c7191abc9199c465ce0ce9ff186a796
4
- data.tar.gz: 0107d5525056ebc3fa6412c9a91bdeb15e5d8d4a15b8a56a9b527f0113065df1
3
+ metadata.gz: 1b3a672e36d0ddc829729def60c9b4254ce0c4a70ec93942e8cbadeff809d6c8
4
+ data.tar.gz: 0512dd5024872dd3725eeb0c17c97cbf907dd63838f7901393bac6ea9f485409
5
5
  SHA512:
6
- metadata.gz: 0215be055ca1bd61e239b06c78cb4302ff7d31b49d45282746396fbed12fcc0036b13b6456d3f181f1a1aac87c1dcc5a9375031083cc8450ed99e3f58b000ddd
7
- data.tar.gz: 431034fabe1a343868dc8a56adbb66419e94b1923d792adaf807d0082a3c5bdcd2ec11f415331bf434d3e0f80203d0665c57636f8b9ec04c33dde953ecebfe71
6
+ metadata.gz: f73451364aed66ce632bb00e81f211fd3b67436ca1235550fe7d7155db3173bad82d04cc09fde6316396bec7e2068cf606f2926d6c0f2d891c9d7c9e5cf12fff
7
+ data.tar.gz: 4110c2e6d50b07f41365fa57788d5537162d30bc55b7b2552ad0d037ee19dd39039e458ed3247e61688cd9e39cb70318293f26c834157e1fa95b4785f451f1d5
data/README.adoc CHANGED
@@ -214,7 +214,7 @@ Start a new page in *Markdown* by adding a file ending with `.md`.
214
214
  ----
215
215
  ---
216
216
  layout: page
217
- # Use either a `# Heading` OR set the title in the frontmatter.
217
+ # Use either a `# Heading` OR set the title in the front matter.
218
218
  # Using both will result in two headings.
219
219
  ---
220
220
  # Page title
@@ -229,7 +229,7 @@ Content
229
229
  +
230
230
  --
231
231
  The page-postlist layout is designed to add a list of blog posts at the end of any page that uses this layout.
232
- The post list can currently be *configured* using two values via Jekyll frontmatter or page variables:
232
+ The post list can currently be *configured* using two values via Jekyll front matter or page variables:
233
233
 
234
234
  `page-postlist-css-class`:
235
235
  This specifies the CSS class for the <ul> element where the posts will be listed, allowing for different list styles.
@@ -454,7 +454,7 @@ In AsciiDoc files this could be e.g.: `:page-menu_label: 'AnotherText'`.
454
454
 
455
455
  By default, the links in the menu are ordered alphabetically.
456
456
  The order of the links can be explicitly determined using the page variable `menu_position`
457
- (in AsciiDoc e.g. `:page-menu_position: 100`; in frontmatter e.g. `menu_position: 50`).
457
+ (in AsciiDoc page attributes e.g. `:page-menu_position: 100`; in Jekyll front matter e.g. `menu_position: 50`).
458
458
  Pages with higher numbers appear on the left side of the menu.
459
459
  Pages with a negative value for `menu_position` will be hidden from the menu.
460
460
  This can be useful for your 404 page, which should be generated by Jekyll, but not visible in the menu.
@@ -639,8 +639,8 @@ I use, for example:
639
639
  The language of the content can be set using `page.lang` which overrides `site.lang`.
640
640
  The default is `en`.
641
641
 
642
- * use e.g. `:page-lang: en` in AsciiDoc
643
- * use e.g. `lang: en` in frontmatter
642
+ * use e.g. `:page-lang: en` in AsciiDoc page attributes
643
+ * use e.g. `lang: en` in Jekyll front matter
644
644
  * use e.g. `lang: en` in `_config.yml`
645
645
 
646
646
 
data/_data.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  # Theme-specific settings
2
2
  ################################################################################
3
3
  # All configuration options for the theme jekyll-theme-endless are listed here.
4
- # These settings are outsourced into a separate file because they contain the values for the themes website.
4
+ # These settings are outsourced into a separate file because they contain the values for the theme's website.
5
5
  # This way, these values are not used as default settings when you integrate the theme into your own project.
6
6
 
7
7
  # Language. Is overriden by value of page.lang.
@@ -1,6 +1,6 @@
1
1
  {% comment %}
2
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 blogs audience,
3
+ This section is intended to showcase external resources or sponsored content relevant to the blog's audience,
4
4
  and it is also best placed within an <aside> element.
5
5
 
6
6
  <aside>
@@ -16,7 +16,7 @@ It typically includes blog navigation, such as 'Recent Articles' or 'Tag Cloud,'
16
16
  {% assign postlist = site.posts | sort:"date" | reverse %}
17
17
  {% for post in postlist offset: 0 limit: 5 %}
18
18
  {% comment %}
19
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
19
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
20
20
  {% endcomment %}
21
21
  <li><a href="{{ post.url | relative_url }}">{{ post.title }}</a></li>
22
22
  {% endfor %}
@@ -25,7 +25,7 @@ Descending order according to their position value.
25
25
  {% if label and position >= 0 %}
26
26
  <li class="nav-item">
27
27
  {% comment %}
28
- 'label' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
28
+ 'label' is not escaped, as the value should already be escaped by the AsciiDoc processor.
29
29
  {% endcomment %}
30
30
  <a class="nav-link" href="{{ current_page.url | relative_url }}">{{ label }}</a>
31
31
  </li>
@@ -27,7 +27,8 @@ Call via:
27
27
  The strip_html filter removes any HTML tags from excerpt,
28
28
  ensuring that only plain text is displayed.
29
29
  {% endcomment %}
30
- <p class="summary" itemprop="description">{{ post.summary | default: post.excerpt | strip_html }}</p>
30
+ {% assign summary_default = post.excerpt | strip_html %}
31
+ <p class="summary" itemprop="description">{{ post.summary | asciidocify: 'inline' | default: summary_default }}</p>
31
32
  <p>
32
33
  {% comment %}
33
34
  Assign the edited date with fallback logic.
@@ -26,7 +26,7 @@ Call via:
26
26
  {% endif %}
27
27
 
28
28
  {% comment %}
29
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
29
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
30
30
  {% endcomment %}
31
31
  <a href="{{ post.url | relative_url }}" itemprop="url">
32
32
  <span itemprop="headline">{{ post.title }}</span>
@@ -14,7 +14,7 @@
14
14
  <span class="d-inline d-md-none">Newer Posts</span>
15
15
  <!-- Full title on larger screens -->
16
16
  {% comment %}
17
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
17
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
18
18
  {% endcomment %}
19
19
  <span class="d-none d-md-inline">{{ page.next.title }}</span>
20
20
  </a>
@@ -33,7 +33,7 @@
33
33
  <span class="d-inline d-md-none">Older Posts</span>
34
34
  <!-- Full title on larger screens -->
35
35
  {% comment %}
36
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
36
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
37
37
  {% endcomment %}
38
38
  <span class="d-none d-md-inline">{{ page.previous.title }}</span>
39
39
  </a>
@@ -88,7 +88,7 @@ Assumption: Non of the tags occurs more than one million times.
88
88
  {% if site.tag_show_description_in_tagcloud %}
89
89
  {% comment %}
90
90
  'tagname' is escaped, assuming it does not contain special characters
91
- that were already escaped by AsciiDocify, or, if special characters are present,
91
+ that were already escaped by the AsciiDoc processor, or, if special characters are present,
92
92
  the tags were set unescaped through the Jekyll front matter.
93
93
  'tag-description' is escaped, since it is set in a data-file.
94
94
  {% endcomment %}
@@ -96,7 +96,7 @@ Assumption: Non of the tags occurs more than one million times.
96
96
  {% else %}
97
97
  {% comment %}
98
98
  'tagname' is escaped, assuming it does not contain special characters
99
- that were already escaped by AsciiDocify, or, if special characters are present,
99
+ that were already escaped by the AsciiDoc processor, or, if special characters are present,
100
100
  the tags were set unescaped through the Jekyll front matter.
101
101
  {% endcomment %}
102
102
  title = "Number of posts with the tag '{{ tagname | escape }}': {{ number }}"
@@ -105,7 +105,7 @@ Assumption: Non of the tags occurs more than one million times.
105
105
  class = "no-tag-description"
106
106
  {% comment %}
107
107
  'tagname' is escaped, assuming it does not contain special characters
108
- that were already escaped by AsciiDocify, or, if special characters are present,
108
+ that were already escaped by the AsciiDoc processor, or, if special characters are present,
109
109
  the tags were set unescaped through the Jekyll front matter.
110
110
  {% endcomment %}
111
111
  title = "Number of posts with the tag '{{ tagname | escape }}': {{ number }}"
@@ -113,7 +113,7 @@ Assumption: Non of the tags occurs more than one million times.
113
113
 
114
114
  {% comment %}
115
115
  'tagname' is escaped, assuming it does not contain special characters
116
- that were already escaped by AsciiDocify, or, if special characters are present,
116
+ that were already escaped by the AsciiDoc processor, or, if special characters are present,
117
117
  the tags were set unescaped through the Jekyll front matter.
118
118
  {% endcomment %}
119
119
  >{{ tagname | escape }}</a>
data/_layouts/html.html CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  <title>
22
22
  {% comment %}
23
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
23
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
24
24
  HTML commands are removed because they have no effect in the title and
25
25
  would otherwise be displayed as the commands themselves.
26
26
  {% endcomment %}
@@ -6,7 +6,7 @@ layout: default-minimal
6
6
  <section class="detached">
7
7
 
8
8
  {% comment %}
9
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
9
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
10
10
  {% endcomment %}
11
11
  <h1 class="post-title">{{ page.title }}</h1>
12
12
 
@@ -6,7 +6,7 @@ layout: page
6
6
 
7
7
  {% comment %}
8
8
  The page-postlist layout is designed to add a list of blog posts at the end of any page that uses this layout.
9
- The post list can currently be configured using two values via Jekyll frontmatter or page variables:
9
+ The post list can currently be configured using two values via Jekyll front matter or page variables:
10
10
 
11
11
  page-postlist-css-class:
12
12
  This specifies the CSS class for the <ul> element where the posts will be listed, allowing for different list styles.
@@ -10,7 +10,7 @@ page.tag and page.title are set by the plugin `generate-taglist`.
10
10
  <p>
11
11
  {% comment %}
12
12
  'tag' is escaped, assuming it does not contain special characters
13
- that were already escaped by AsciiDocify, or, if special characters are present,
13
+ that were already escaped by the AsciiDoc processor, or, if special characters are present,
14
14
  the tags were set unescaped through the Jekyll front matter.
15
15
  'tag-description' is escaped, since it is set in a data-file.
16
16
  {% endcomment %}
@@ -22,7 +22,7 @@ page.tag and page.title are set by the plugin `generate-taglist`.
22
22
  <p>
23
23
  {% comment %}
24
24
  'tag' is escaped, assuming it does not contain special characters
25
- that were already escaped by AsciiDocify, or, if special characters are present,
25
+ that were already escaped by the AsciiDoc processor, or, if special characters are present,
26
26
  the tags were set unescaped through the Jekyll front matter.
27
27
  {% endcomment %}
28
28
  Number of posts tagged with "<em>{{ page.tag | escape }}</em>": <strong>{{ site.tags[ page.tag ] | size }}</strong>
data/_layouts/page.html CHANGED
@@ -9,7 +9,7 @@ Either set `title` in the frontmater, or use a `# Heading` on the page.
9
9
  {% endcomment %}
10
10
  {% if page.title %}
11
11
  {% comment %}
12
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
12
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
13
13
  {% endcomment %}
14
14
  <h1>{{ page.title }}</h1>
15
15
  {% endif %}
data/_layouts/post.html CHANGED
@@ -30,7 +30,7 @@ layout: default
30
30
  {% endcomment %}
31
31
  {% if page.title %}
32
32
  {% comment %}
33
- 'title' is not escaped, as the value should already be escaped by AsciiDoc through asciidocify.
33
+ 'title' is not escaped, as the value should already be escaped by the AsciiDoc processor.
34
34
  {% endcomment %}
35
35
  <h1 itemprop="headline">{{ page.title }}</h1>
36
36
  {% endif %}
data/assets/css/main.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- # The frontmatter ensures that Jekyll reads the file and transforms it to CSS.
2
+ # The front matter ensures that Jekyll reads the file and transforms it to CSS.
3
3
  # See https://jekyllrb.com/docs/themes/#assets
4
4
  # Only main files contain this front matter, not partials that are placed in _scss.
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Endless
3
- VERSION = '0.13.3'
3
+ VERSION = '0.13.4'
4
4
  end
5
5
  end
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.13.3
4
+ version: 0.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-03 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-asciidoc