Merge pull request #73 from pawroman/tweak-config-for-new-rss

Tweak default config to follow RSS generation changes after Zola 0.19
This commit is contained in:
Paweł Romanowski 2024-08-17 17:49:29 +02:00 committed by GitHub
commit 7f630a4e31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 }}">