diff --git a/config.toml b/config.toml index 7015ed6..0dc0e31 100644 --- a/config.toml +++ b/config.toml @@ -2,7 +2,7 @@ base_url = "https://getzola.github.io/after-dark/" compile_sass = true title = "after-dark theme" description = "A robust, elegant dark theme" -generate_feed = true +generate_feeds = true taxonomies = [ {name = "categories", feed = true}, diff --git a/templates/index.html b/templates/index.html index c7e5ab0..4eb82af 100644 --- a/templates/index.html +++ b/templates/index.html @@ -22,10 +22,19 @@ {% block title %}{{ config.title }}{% endblock title %} - {% if config.generate_feed %} - - {% endif %} + {%- if config.generate_feeds %} + {%- for feed in config.feed_filenames %} + + {%- if feed is containing('atom') %} + + {%- endif %} + + {%- if feed is containing('rss') %} + + {%- endif %} + + {%- endfor %} + {%- endif %} {% block css %} diff --git a/theme.toml b/theme.toml index 4c32d62..998a264 100644 --- a/theme.toml +++ b/theme.toml @@ -2,7 +2,7 @@ name = "after-dark" description = "A robust, elegant dark theme" license = "MIT" homepage = "https://github.com/getzola/after-dark" -min_version = "0.17.0" +min_version = "0.19.1" demo = "https://getzola.github.io/after-dark/" [extra]