jekyll-theme-nix 1.0.6 → 1.0.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/feed.xml +6 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dba287150f7f2b20cd4d4660ebdac5ccfeebf53808e92fdbc9dbce1097b3092b
4
- data.tar.gz: a42c08d2333caa7304b7c3a1b4634d57ff56ce8dc26606b37a2b9db6d8d8cd02
3
+ metadata.gz: 4fd80d3b8b968b5d51ee216dcbeffc34c3252a045d410f7f5fc81dcccf6976a2
4
+ data.tar.gz: c736fe4246132b8f23b8520d984db561006c8c663f5621fc00d2e8ff617ad8fc
5
5
  SHA512:
6
- metadata.gz: b6b019754095945877b727c71965d18c2cbce90fc1426fe69604702c7e1733339580dc99693555c29f7512b2bc89722acf0c242fe390e84d2a8a7f3b72d21d3d
7
- data.tar.gz: aa6e86e361476b5a3496f571c252c7885f078dad63d6f83e93159c88d2f4f9dfdfddeaa6ebb63dcda8873046a6b2f766292c7f887bc2ae9d9f027b032730f51e
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
- <?xml-stylesheet type="text/xml" href="{{ '/feed.xslt.xml' | absolute_url }}"?>
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 | smartify | xml_escape }}</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 | smartify | strip_html | normalize_whitespace %}
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><![CDATA[{{ post_summary | strip_html | normalize_whitespace | smartify | replace: "&amp;", "&" | replace: "&lt;", "<" | replace: "&gt;", ">" }}]]></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 | strip | smartify }}]]></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 %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Nordmeyer