jekyll-theme-jsblog 1.0.32 → 1.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. metadata +15 -2
  3. data/_layouts/feed.xml +0 -97
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85b377a063b5a5ceae66d1277632199f80bd9776d0c37ddb5aeca9718c00ee2e
4
- data.tar.gz: 8f36108f046661e91e599c5dd61c23d44bff4c18856416cdaa8fb5de014deea4
3
+ metadata.gz: 82db593785f969434723100896b0f7f2d875f5db8e517820849b51406542b3cb
4
+ data.tar.gz: 1ef4d438d8792f920d51ca4f654429002e09df7645295e205590af0dbc30606a
5
5
  SHA512:
6
- metadata.gz: a5be0a637b32301c66858ee27c7451151578ec698275dd2db66c5f85962207fd51b6ff9c2a5589f530e741ff9b2b3c0f007c22e5cc6b20e70125c3af5ef417ed
7
- data.tar.gz: 8a58f40edc2d475390851b2f758ca52787c4b284bbe9d1f32e03ee94f42bcfb2dd2937ee44482db84bb2bb33dccaf68ceb7c3b5e2fbadbf82e9bcc06750a6ff0
6
+ metadata.gz: 2841906271c039632d111e43d0f719242272329d4cf943f398c76757dfae415800a2734a4d5c4714eec392089d8a75a66579b6047461643ea4bc429307e5df53
7
+ data.tar.gz: 9f0a73b2afa568e6e46bccf33e63cb7ed9d310fc32875c710463dcdfd85e8b37e84e9c1dbd740888a91aaaf216b45ec4a617b23d5d5532131472a7df141da92b
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-jsblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.32
4
+ version: 1.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Schiavo
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-feed
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.11.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.11.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +114,6 @@ files:
100
114
  - _includes/header.html
101
115
  - _includes/pagination.html
102
116
  - _layouts/default.html
103
- - _layouts/feed.xml
104
117
  - _layouts/home.html
105
118
  - _layouts/page.html
106
119
  - _layouts/post.html
data/_layouts/feed.xml DELETED
@@ -1,97 +0,0 @@
1
- ---
2
- layout: null
3
- ---
4
- <?xml version="1.0" encoding="utf-8"?>
5
- <feed xmlns="http://www.w3.org/2005/Atom"{% if site.lang %} xml:lang="{{ site.lang }}"{% endif %}>
6
- <generator uri="http://jekyllrb.com" version="{{ jekyll.version }}">Jekyll</generator>
7
- {% assign feed_path = "/feed.xml" %}
8
- {% if site.feed and site.feed.path %}
9
- {% assign feed_path = site.feed.path %}
10
- {% endif %}
11
- <link href="{{ feed_path | absolute_url }}" rel="self" type="application/atom+xml" />
12
- <link href="{{ '/' | absolute_url }}" rel="alternate" type="text/html" {% if site.lang %}hreflang="{{ site.lang }}" {% endif %}/>
13
- <updated>{{ site.time | date_to_xmlschema }}</updated>
14
- <id>{{ '/' | absolute_url | xml_escape }}/</id>
15
-
16
- {% if site.title %}
17
- <title type="html">{{ site.title | smartify | xml_escape }}</title>
18
- {% elsif site.name %}
19
- <title type="html">{{ site.name | smartify | xml_escape }}</title>
20
- {% endif %}
21
-
22
- {% if site.description %}
23
- <subtitle>{{ site.description | xml_escape }}</subtitle>
24
- {% endif %}
25
-
26
- {% if site.author %}
27
- <author>
28
- <name>{{ site.author.name | default: site.author | xml_escape }}</name>
29
- {% if site.author.email %}
30
- <email>{{ site.author.email | xml_escape }}</email>
31
- {% endif %}
32
- {% if site.author.uri %}
33
- <uri>{{ site.author.uri | xml_escape }}</uri>
34
- {% endif %}
35
- </author>
36
- {% endif %}
37
-
38
- {% for post in site.posts limit: 20 %}
39
- {% unless post.draft %}
40
- <entry{% if post.lang %} xml:lang="{{ post.lang }}"{% endif %}>
41
- {% if post.external-url %}
42
- <title type="html">{{ post.title | append: " &rarr;" | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
43
- {% else %}
44
- <title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
45
- {% endif %}
46
- {% if post.external-url %}
47
- <link href="{{ post.external-url }}" rel="alternate" type="text/html" />
48
- <link href="{{ post.url | absolute_url }}" rel="related" type="text/html" title="{{ post.title | xml_escape }}" />
49
- {% else %}
50
- <link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
51
- {% endif %}
52
- <published>{{ post.date | date_to_xmlschema }}</published>
53
- <updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
54
- <id>{{ post.id | absolute_url | xml_escape }}</id>
55
- <content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}">{{ post.content | strip | xml_escape }}</content>
56
-
57
- {% assign post_author = post.author | default: post.authors[0] | default: site.author %}
58
- {% assign post_author = site.data.authors[post_author] | default: post_author %}
59
- {% assign post_author_email = post_author.email | default: nil %}
60
- {% assign post_author_uri = post_author.uri | default: nil %}
61
- {% assign post_author_name = post_author.name | default: post_author %}
62
-
63
- {% if post_author %}
64
- <author>
65
- <name>{{ post_author_name | xml_escape }}</name>
66
- {% if post_author_email %}
67
- <email>{{ post_author_email | xml_escape }}</email>
68
- {% endif %}
69
- {% if post_author_uri %}
70
- <uri>{{ post_author_uri | xml_escape }}</uri>
71
- {% endif %}
72
- </author>
73
- {% endif %}
74
-
75
- {% for category in post.categories %}
76
- <category term="{{ category | xml_escape }}" />
77
- {% endfor %}
78
-
79
- {% for tag in post.tags %}
80
- <category term="{{ tag | xml_escape }}" />
81
- {% endfor %}
82
-
83
- {% if post.excerpt and post.excerpt != empty %}
84
- <summary type="html">{{ post.excerpt | strip_html | normalize_whitespace | xml_escape }}</summary>
85
- {% endif %}
86
-
87
- {% assign post_image = post.twitter_card.image | default: post.facebook.image %}
88
- {% if post_image %}
89
- {% unless post_image contains "://" %}
90
- {% assign post_image = post_image | absolute_url | xml_escape %}
91
- {% endunless %}
92
- <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="{{ post_image }}" />
93
- {% endif %}
94
- </entry>
95
- {% endunless %}
96
- {% endfor %}
97
- </feed>