jekyll-theme-nix 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/feed.xml +6 -7
- 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: 4fd80d3b8b968b5d51ee216dcbeffc34c3252a045d410f7f5fc81dcccf6976a2
|
4
|
+
data.tar.gz: c736fe4246132b8f23b8520d984db561006c8c663f5621fc00d2e8ff617ad8fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3741ca52445174d6e816fe9f0658530d91142253c9e57f6ab6a0cfc93f99025d70c0ae77816f29b2563fe84d8b909fe8bc3b209c3dbf4a9d9f8926f77d926208
|
7
|
+
data.tar.gz: 8ba8cd09c7f185ac094d6b009728a72fd716f2589d842949b1f8c64bbf55a4126f753e27844fa29e4e817c40be290214de80f34ef9a2983f3134e85af5eaf3f9
|
data/feed.xml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
---
|
2
2
|
permalink: /feed.xml
|
3
|
-
redirect_from: /feed
|
4
3
|
sitemap: false
|
5
4
|
layout: none
|
6
5
|
---
|
7
6
|
<?xml version="1.0" encoding="utf-8"?>
|
8
7
|
{% if page.xsl %}
|
9
|
-
|
8
|
+
<?xml-stylesheet type="text/xml" href="{{ '/feed.xslt' | absolute_url }}"?>
|
10
9
|
{% endif %}
|
11
10
|
<feed xmlns="http://www.w3.org/2005/Atom" {% if site.lang %}xml:lang="{{ site.lang }}"{% endif %}>
|
12
11
|
<link href="{{ page.url | absolute_url }}" rel="self" type="application/atom+xml" />
|
@@ -26,10 +25,10 @@ layout: none
|
|
26
25
|
{%- assign title = title | append: site.title_separator | append: category -%}
|
27
26
|
{%- endif -%}
|
28
27
|
{%- if title %}
|
29
|
-
<title>{{ title |
|
28
|
+
<title>{{ title | strip_html | normalize_whitespace | smartify }}</title>
|
30
29
|
{%- endif -%}
|
31
30
|
{%- if site.description %}
|
32
|
-
<subtitle>{{ site.description | smartify }}</subtitle>
|
31
|
+
<subtitle>{{ site.description | strip_html | normalize_whitespace | smartify }}</subtitle>
|
33
32
|
{%- endif -%}
|
34
33
|
{%- if site.author %}
|
35
34
|
<author>
|
@@ -62,7 +61,7 @@ layout: none
|
|
62
61
|
{%- assign posts_limit = site.feed.posts_limit | default: 10 -%}
|
63
62
|
{%- for post in posts limit: posts_limit %}
|
64
63
|
<entry{% if post.lang %}{{" "}}xml:lang="{{ post.lang }}"{% endif %}>
|
65
|
-
{%- assign post_title = post.title |
|
64
|
+
{%- assign post_title = post.title | strip_html | normalize_whitespace | smartify %}
|
66
65
|
<title>{{ post_title }}</title>
|
67
66
|
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post_title }}" />
|
68
67
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
@@ -97,7 +96,7 @@ layout: none
|
|
97
96
|
{%- endfor -%}
|
98
97
|
{%- assign post_summary = post.description | default: post.excerpt -%}
|
99
98
|
{%- if post_summary and post_summary != empty %}
|
100
|
-
<summary
|
99
|
+
<summary>{{ post_summary | strip_html | normalize_whitespace | smartify }}</summary>
|
101
100
|
{%- endif -%}
|
102
101
|
|
103
102
|
{%- assign post_image = post.image.path | default: post.image -%}
|
@@ -110,7 +109,7 @@ layout: none
|
|
110
109
|
{%- endif -%}
|
111
110
|
{%- assign excerpt_only = post.feed.excerpt_only | default: site.feed.excerpt_only -%}
|
112
111
|
{%- unless excerpt_only %}
|
113
|
-
<content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}"><![CDATA[{{ post.content |
|
112
|
+
<content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}"><![CDATA[{{ post.content | smartify }}]]></content>
|
114
113
|
{%- endunless %}
|
115
114
|
</entry>
|
116
115
|
{%- endfor %}
|