File tree 6 files changed +42
-3
lines changed
6 files changed +42
-3
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ source 'https://rubygems.org'
3
3
gem 'github-pages' , group : :jekyll_plugins
4
4
5
5
group :jekyll_plugins do
6
+ gem 'jekyll-feed'
6
7
gem 'jekyll-sitemap'
7
8
end
8
9
9
- group :scripts do
10
- gem 'mgem'
11
- gem 'git'
10
+ group :scripts do
11
+ gem 'mgem'
12
+ gem 'git'
12
13
13
14
# API Docs
14
15
gem 'yard-mruby'
Original file line number Diff line number Diff line change @@ -275,6 +275,7 @@ PLATFORMS
275
275
DEPENDENCIES
276
276
git
277
277
github-pages
278
+ jekyll-feed
278
279
jekyll-sitemap
279
280
mgem
280
281
yard-coderay
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ url: https://mruby.org
12
12
repository : https://github.com/mruby/mruby.github.io
13
13
include : _index.html
14
14
plugins :
15
+ - jekyll-feed
15
16
- jekyll-sitemap
16
17
exclude :
17
18
- CODEOWNERS
Original file line number Diff line number Diff line change 2
2
< div class ="container ">
3
3
< a href ="https://github.com/h2so5/mruby-logo "> mruby-logo</ a > provided by < a href ="https://github.com/h2so5 "> h2so5</ a >
4
4
</ div >
5
+ < div >
6
+ < a href ="/rss.xml ">
7
+ < img src ="/images/icons/rss-feed.png " alt ="RSS feed " title ="RSS feed " width ="25 " height ="25 ">
8
+ </ a >
9
+ </ div >
5
10
</ footer >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: null
3
+ ---
4
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
5
+ <rss version =" 2.0" xmlns : atom =" http://www.w3.org/2005/Atom" >
6
+ <channel >
7
+ <title >{{ site.title | xml_escape }}</title >
8
+ <description >{{ site.description | xml_escape }}</description >
9
+ <link >{{ site.url }}{{ site.baseurl }}/</link >
10
+ <atom : link href =" {{ " /rss.xml" | prepend: site.baseurl | prepend: site.url }}" rel =" self" type =" application/rss+xml" />
11
+ <pubDate >{{ site.time | date_to_rfc822 }}</pubDate >
12
+ <lastBuildDate >{{ site.time | date_to_rfc822 }}</lastBuildDate >
13
+ <generator >Jekyll v{{ jekyll.version }}</generator >
14
+ {% for post in site.posts %}
15
+ <item >
16
+ <title >{{ post.title | xml_escape }}</title >
17
+ <author ></author >
18
+ <description >{{ post.content | xml_escape }}</description >
19
+ <pubDate >{{ post.date | date_to_rfc822 }}</pubDate >
20
+ <link >{{ post.url | prepend: site.baseurl | prepend: site.url }}</link >
21
+ <guid isPermaLink =" true" >{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid >
22
+ {% for tag in post.tags %}
23
+ <category >{{ tag | xml_escape }}</category >
24
+ {% endfor %}
25
+ {% for cat in post.categories %}
26
+ <category >{{ cat | xml_escape }}</category >
27
+ {% endfor %}
28
+ </item >
29
+ {% endfor %}
30
+ </channel >
31
+ </rss >
You can’t perform that action at this time.
0 commit comments