jekyll-theme-h2o-ac 1.0.1 → 1.0.2

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +1 -1
  3. data/_layouts/rss.xml +27 -0
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a04ed392c774972afa0103abedf72d32d2f9f624649dfaf5208db154b4af881
4
- data.tar.gz: 4af35d9f4d8c86c6ccc372e89939544754560d47e518b7048d6f55b71ec15384
3
+ metadata.gz: 9668a391b6a8d0543c8c46fa79a13d9347470d7602edd08d1b90ed26a22b07ce
4
+ data.tar.gz: f88f1f3d4826e4603cda294f4d59addd9a6b856a5985791f22050346098c541b
5
5
  SHA512:
6
- metadata.gz: 140295505805ffdd32b2132980220dd2b8d769860215413ab786b050ab43815fa361d570288547b46e9a89f12401d191e9af59d72e5ae369dabfe953ea6bfe9c
7
- data.tar.gz: 3aaf0a320d12d4796c8a198944a1ce8781042e66c576e7a9cc823ac7262050907c1acdc0219a50adfbc153bd0329f33e7afd1b3d75112768a782d5985da9811d
6
+ metadata.gz: fb0ccaa4806cf1fa808a3f9be9b7f0821b2a2a22289f20551fc9a4ebdc56a739956d24367ab65b8c5a9142c6c78a55ced45bbe136cb94e026d0b91be2bdadce5
7
+ data.tar.gz: 84e63b7d3cf9751de91e32f77f696218c75e600f20de384892e01c4e5de135b2ac3abefa01e5a4b363d6f175433aa3041369ccb38ac4a8653b7715ef74dff50d
data/_config.yml CHANGED
@@ -81,7 +81,7 @@ recommend-condition-size: 12 # a tag will be recommended if the size of it is mo
81
81
  # Build settings
82
82
  paginate: 10
83
83
  paginate_path: 'blog/page:num'
84
- exclude: ['node_modules', 'dev', 'package.json', 'gulpfile.js', '.gitignore', 'README.md']
84
+ exclude: ['node_modules', 'dev', 'package.json', 'gulpfile.js', '.gitignore', 'README.md', '*.gemspec', '*.gem']
85
85
 
86
86
  # Markdown
87
87
  markdown: kramdown
data/_layouts/rss.xml ADDED
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
+ <channel>
4
+ <title>{{ site.title | xml_escape }}</title>
5
+ <description>{{ site.description | xml_escape }}</description>
6
+ <link>{{ site.url }}{{ "/" | relative_url }}/</link>
7
+ <atom:link href="{{ "/feed.xml" | relative_url | prepend: site.url }}" rel="self" type="application/rss+xml" />
8
+ <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
9
+ <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
10
+ <generator>Jekyll v{{ jekyll.version }}</generator>
11
+ {% for post in site.posts limit:10 %}
12
+ <item>
13
+ <title>{{ post.title | xml_escape }}</title>
14
+ <description>{{ post.content | xml_escape }}</description>
15
+ <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
16
+ <link>{{ post.url | relative_url | prepend: site.url }}</link>
17
+ <guid isPermaLink="true">{{ post.url | relative_url | prepend: site.url }}</guid>
18
+ {% for tag in post.tags %}
19
+ <category>{{ tag | xml_escape }}</category>
20
+ {% endfor %}
21
+ {% for cat in post.categories %}
22
+ <category>{{ cat | xml_escape }}</category>
23
+ {% endfor %}
24
+ </item>
25
+ {% endfor %}
26
+ </channel>
27
+ </rss>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-h2o-ac
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhonger
@@ -46,6 +46,7 @@ files:
46
46
  - _layouts/default.html
47
47
  - _layouts/page.html
48
48
  - _layouts/post.html
49
+ - _layouts/rss.xml
49
50
  - _layouts/tags.html
50
51
  - assets/css/app.min.css
51
52
  - assets/css/plugins.min.css