diff --git a/CHANGELOG.md b/CHANGELOG.md index 62186456..42bd3827 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ This changelog follows the patterns described here: https://keepachangelog.com/e Subheadings to categorize changes are `added, changed, deprecated, removed, fixed, security`. ## Unreleased +### added +- Closed [#168](https://github.com/thedodd/trunk/issues/158): RSS feed for blog ## 0.12.1 ### fixed diff --git a/site/config.toml b/site/config.toml index 4b91a030..8ab20702 100644 --- a/site/config.toml +++ b/site/config.toml @@ -6,6 +6,7 @@ compile_sass = true highlight_code = true highlight_theme = "inspired-github" build_search_index = true +generate_feed = true theme = "juice" diff --git a/site/templates/blog.html b/site/templates/blog.html index 9b243637..9f3268f2 100644 --- a/site/templates/blog.html +++ b/site/templates/blog.html @@ -3,6 +3,12 @@ {% block title %}{{ section.title }} | {{ super() }} {% endblock title %} +{% block head %} +{% block rss %} + +{% endblock %} +{% endblock head %} + {% block header %}
{{ macros::render_header() }} @@ -11,6 +17,7 @@ {% block toc %}
+

Subscribe

{% for post in section.pages %}