jekyll-theme-endless 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data.yml +1 -0
- 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: a194e172560e2377bdd19087d1ef016fade4a67ad3091459d788cb8a8c024edf
|
4
|
+
data.tar.gz: e9c6d65a3e5d82844075bf323db5a7dd94f97c626260f021ff7575fc0a5382f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/_layouts/statistics.html
CHANGED