jekyll-theme-endless 0.12.1 → 0.12.3

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: 6cc7605770d0fce934a71512290dff9d98743295d5d8136aca2edd4f4fa4c0a4
4
- data.tar.gz: a6ee1691022f3f3a64f1128d114b3b58bd070143b891ad910fb101d35d3647c2
3
+ metadata.gz: 4a087ba5f9c86e99bcd3456a6ec8c33b85b365bdb79b72812918c28da0877380
4
+ data.tar.gz: a759e1b82fb51f937d336830ab3a6791aa76035076cfea486d8dc7a6ce321612
5
5
  SHA512:
6
- metadata.gz: '07301900a41c278277bb4f221156c47f2d50009b95ba08cb350a39a9937f8c67834407fa85248c36aba13cdcb0635cdc248f6b0f66ce6573f43290895f833aa5'
7
- data.tar.gz: e272e32be10b49d370eb3eaa3bac5c36bf8089485603c8c40688fdf448dd365b2d1cff36b6f92a352bd1ae9a212ec3cef803be2003aced007199e2e04b1ad3d0
6
+ metadata.gz: 07d993b7ccb8287c3c2b4dfce3f9070082555fa5e317f62c432f40c541d4905c0ae01c31db8cfc703512ef2485a66f4c8bba9ea4792c4dea68686650cc01f09f
7
+ data.tar.gz: 6adfce4d8c05e32d8eeb67c30e435178da410536bcab4e9e07db386fde3174daf073127a75221b0706c4f46be5d2eb93ab9c25b8ab725d5fb855853e3091b129
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>"
@@ -116,7 +116,7 @@ Assumption: Non of the tags occurs more than one million times.
116
116
  that were already escaped by AsciiDocify, or, if special characters are present,
117
117
  the tags were set unescaped through the Jekyll front matter.
118
118
  {% endcomment %}
119
- >{{ tagname |escape }}</a>
119
+ >{{ tagname | escape }}</a>
120
120
  </li>
121
121
 
122
122
  {% endfor %}
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 (case-insensitive).{% endcomment %}
44
+ {% assign tags_without_description = tags_without_description | sort_natural %}
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.3'
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff