jekyll-theme-endless 0.12.1 → 0.12.3
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 +4 -4
- data/_data.yml +1 -0
- data/_includes/function_tag-cloud.html +1 -1
- data/_layouts/html.html +16 -0
- data/_layouts/statistics.html +3 -0
- data/lib/jekyll-theme-endless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a087ba5f9c86e99bcd3456a6ec8c33b85b365bdb79b72812918c28da0877380
|
|
4
|
+
data.tar.gz: a759e1b82fb51f937d336830ab3a6791aa76035076cfea486d8dc7a6ce321612
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
data/_layouts/statistics.html
CHANGED