Tweak default config to reflect changes in RSS generation after Zola 0.19 changes

This commit is contained in:
Paweł Romanowski 2024-08-17 17:48:30 +02:00
parent dbef3fa69a
commit 26ab720d51
3 changed files with 6 additions and 4 deletions

View file

@ -8,7 +8,9 @@
See the live demo (of the default configuration) here: See the live demo (of the default configuration) here:
https://pawroman.github.io/zola-theme-terminimal/ https://pawroman.github.io/zola-theme-terminimal/
Tested with Zola v0.17.2. Please note that earlier versions might not work because of breaking changes across Zola versions. Tested with Zola v0.19.2.
Please note that earlier (and older) versions might not work because of breaking changes across Zola versions.
#### Fork disclaimer #### Fork disclaimer

View file

@ -6,10 +6,10 @@ title = "Zola Terminimal theme"
compile_sass = true compile_sass = true
# The theme supports feeds (RSS and ATOM) # The theme supports feeds (RSS and ATOM)
generate_feed = true generate_feeds = true
# Use `rss.xml` for RSS feeds and `atom.xml` for ATOM. # Use `rss.xml` for RSS feeds and `atom.xml` for ATOM.
feed_filename = "atom.xml" feed_filenames = ["rss.xml", "atom.xml"]
# Optional: enable tags # Optional: enable tags
taxonomies = [ taxonomies = [

View file

@ -24,7 +24,7 @@
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{% endif -%} {%- endif -%}
{%- if config.extra.favicon %} {%- if config.extra.favicon %}
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") | safe }}" href="{{ config.extra.favicon | safe }}"> <link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") | safe }}" href="{{ config.extra.favicon | safe }}">