jekyll-theme-endless 0.12.0 → 0.12.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60b46c41a7e2d1ea7e8d81a831eb2c845cb1f6c75644b948958d60c73f3574ae
4
- data.tar.gz: e2a96a51e5daf2a464a5aa763dbf7bf34f0508d61f5536a32b764209b6c5ef96
3
+ metadata.gz: a194e172560e2377bdd19087d1ef016fade4a67ad3091459d788cb8a8c024edf
4
+ data.tar.gz: e9c6d65a3e5d82844075bf323db5a7dd94f97c626260f021ff7575fc0a5382f0
5
5
  SHA512:
6
- metadata.gz: d9a0e06c8822104785c86231c4a10c649ea7ee8d2f2702e03caa034624d795c35c47f86a29bff6b2b50be1ff876df43b2582d1e607623ee202d8c5631b39c83f
7
- data.tar.gz: 97f3aec66a0b12da78bf5e5d2f03a865e238ffbe43cc3a6e41ad40f57de1a4e67dc8351327e7ee88050185d397076e64de468e799c0a649418441ba70353bd86
6
+ metadata.gz: 99fc6e25205e9da0f93f4466b872fb00ad6cb9fcc1825b8a18d8b0e58bad0fee2d4952a5c87c76aef67cbd97421ba9c7687298589268c71166f3580b6994641a
7
+ data.tar.gz: 1bf38e7184095c500a55b4ef64778cced57d7748037d747f03b7beee8b0d706e97494ef50a2bc41d061a0a296fb13f4ad600c5f41999ee7a6971c4861f831cba
data/_data.yml CHANGED
@@ -9,6 +9,7 @@ lang: en
9
9
 
10
10
  # NOTE: The values of the variables 'brand', 'title' and 'subtitle'
11
11
  # are NOT escaped in the layout. This allows you to use HTML commands.
12
+ # For the RSS feed title (format: "{title}: {subtitle} | {brand}"), HTML tags are removed.
12
13
  brand: '"<em>endless</em>"-Theme'
13
14
  title: "<code>jekyll-theme-endless</code>"
14
15
  subtitle: "A Jekyll Theme ready for <strong><em>AsciiDoc</em></strong>"
@@ -16,7 +16,8 @@ Requires an array of tags beeing provided via the parameter `tags`.
16
16
  Here 'tag' Is NOT escaped, since the plugin generates
17
17
  files for tag-pages with filenames using the unescaped tag.
18
18
  {% endcomment %}
19
- href="{{ '/' | append: site.tag_dir | default: 'tags' | append: '/' | append: current_tag | relative_url }}"
19
+ {% assign tag_dir = site.tag_dir | default: 'tags' %}
20
+ href="{{ '/' | append: tag_dir | append: '/' | append: current_tag | relative_url }}"
20
21
  >{{ current_tag | escape }}</a></li>
21
22
  {% endfor %}
22
23
  </ul>
data/_layouts/html.html CHANGED
@@ -40,6 +40,22 @@
40
40
  <!-- Theme CSS -->
41
41
  <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
42
42
 
43
+ {% if site.title %}
44
+ {% assign rss_title = site.title | strip_html %}
45
+ {% else %}
46
+ {% assign rss_title = "RSS Feed" %}
47
+ {% endif %}
48
+
49
+ {% if site.subtitle %}
50
+ {% assign rss_title = rss_title | append: ": " | append: site.subtitle | strip_html %}
51
+ {% endif %}
52
+
53
+ {% if site.brand %}
54
+ {% assign rss_title = rss_title | append: " | " | append: site.brand | strip_html %}
55
+ {% endif %}
56
+ <!-- RSS Feed - This code adds a link to the RSS feed, enabling browsers and feed readers to detect and subscribe to site updates automatically.-->
57
+ <link rel="alternate" type="application/rss+xml" title="{{ rss_title | escape_once }}" href="{{ '/feed.xml' | relative_url }}">
58
+
43
59
  </head>
44
60
  <body>
45
61
 
@@ -40,6 +40,9 @@ layout: page
40
40
 
41
41
  {% endfor %}
42
42
 
43
+ {% comment %}Sort the tags in alphabetical order.{% endcomment %}
44
+ {% assign tags_without_description = tags_without_description | sort %}
45
+
43
46
 
44
47
 
45
48
  <h3>Versions</h3>
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Endless
3
- VERSION = '0.12.0'
3
+ VERSION = '0.12.2'
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.12.0
4
+ version: 0.12.2
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-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-asciidoc