Skip to content

Commit baa4d60

Browse files
grovesNLkvark
authored andcommitted
Generate RSS feed with jekyll-feed
1 parent e02e7e1 commit baa4d60

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ about: The gfx-rs documentation and blog.
88
urls:
99
- text: github
1010
url: https://github.com/gfx-rs/gfx-rs
11+
plugins:
12+
- jekyll-feed

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6+
<link rel="alternate" type="application/atom+xml" title="Gfx-rs nuts and bolts" href="/feed.xml">
67
<title>{{ page.title }} - {{ site.title | default: site.github.repository_name }}</title>
78
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
89
<style>

feed.xml

Lines changed: 0 additions & 28 deletions
This file was deleted.

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ <h1>Blog Posts</h1>
99
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
1010
{% endfor %}
1111
</ul>
12+
<a href="/feed.xml" target="_blank">RSS Feed</a>
1213
</div>

0 commit comments

Comments
 (0)