Skip to content

Commit

Permalink
Merge pull request #73 from pawroman/tweak-config-for-new-rss
Browse files Browse the repository at this point in the history
Tweak default config to follow RSS generation changes after Zola 0.19
  • Loading branch information
pawroman authored Aug 17, 2024
2 parents dbef3fa + 26ab720 commit 7f630a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
See the live demo (of the default configuration) here:
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

Expand Down
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ title = "Zola Terminimal theme"
compile_sass = true

# The theme supports feeds (RSS and ATOM)
generate_feed = true
generate_feeds = true

# Use `rss.xml` for RSS feeds and `atom.xml` for ATOM.
feed_filename = "atom.xml"
feed_filenames = ["rss.xml", "atom.xml"]

# Optional: enable tags
taxonomies = [
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{%- endif %}

{%- endfor %}
{% endif -%}
{%- endif -%}

{%- if config.extra.favicon %}
<link rel="shortcut icon" type="{{ config.extra.favicon_mimetype | default(value="image/x-icon") | safe }}" href="{{ config.extra.favicon | safe }}">
Expand Down

0 comments on commit 7f630a4

Please sign in to comment.