diff options
-rw-r--r-- | config.toml | 3 | ||||
-rw-r--r-- | templates/base.html | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config.toml b/config.toml index 4bd71ea..848098e 100644 --- a/config.toml +++ b/config.toml @@ -7,6 +7,9 @@ compile_sass = true # Whether to build a search index to be used later on by a JavaScript library build_search_index = true +# RSS feed generation +generate_feed = true + [markdown] # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola diff --git a/templates/base.html b/templates/base.html index 59eaaae..a85bca1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,6 +4,9 @@ <head> <meta charset="utf-8"> <title>MyBlog</title> + {% block rss %} + <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}"> + {% endblock %} </head> <body> |