jekyll-theme-endless 0.12.1 → 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: 6cc7605770d0fce934a71512290dff9d98743295d5d8136aca2edd4f4fa4c0a4
4
- data.tar.gz: a6ee1691022f3f3a64f1128d114b3b58bd070143b891ad910fb101d35d3647c2
3
+ metadata.gz: a194e172560e2377bdd19087d1ef016fade4a67ad3091459d788cb8a8c024edf
4
+ data.tar.gz: e9c6d65a3e5d82844075bf323db5a7dd94f97c626260f021ff7575fc0a5382f0
5
5
  SHA512:
6
- metadata.gz: '07301900a41c278277bb4f221156c47f2d50009b95ba08cb350a39a9937f8c67834407fa85248c36aba13cdcb0635cdc248f6b0f66ce6573f43290895f833aa5'
7
- data.tar.gz: e272e32be10b49d370eb3eaa3bac5c36bf8089485603c8c40688fdf448dd365b2d1cff36b6f92a352bd1ae9a212ec3cef803be2003aced007199e2e04b1ad3d0
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>"
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.1'
3
+ VERSION = '0.12.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-endless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff