Skip to content

Commit

Permalink
Merge pull request #23 from Horgix/zola-0.19-breaking-change-generate…
Browse files Browse the repository at this point in the history
…_feeds

Rename `generate_feed` into `generate_feeds` as per Zola 0.19 breaking changes
  • Loading branch information
Speyll authored Jul 31, 2024
2 parents 6c76523 + 2474625 commit 309f070
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = "anemone"
description = "A minimalist Zola theme that prioritizes clean CSS and avoids heavy JavaScript. Enjoy a seamless user experience with lightning-fast load times. Let your content take center stage in a clutter-free, elegant design that enhances readability. Responsive and efficient, anemone brings focus to your ideas."
compile_sass = false
minify_html = true
generate_feed = true
generate_feeds = true
default_language = "en"

taxonomies = [
Expand Down
2 changes: 1 addition & 1 deletion templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</p>

</div>
{% if config.generate_feed %}
{% if config.generate_feeds %}
<div>
<a class="no-style" target="_blank" rel="noopener noreferrer" href="{{ get_url(path="atom.xml", trailing_slash=false) }}" title="Subscribe via RSS for updates."><svg class="icons"><use href="{{ get_url(path='icons.svg#rss', trailing_slash=false) | safe }}"></use></svg></a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<link rel="shortcut icon" type="image/x-icon" href="{{ get_url(path=config.extra.favicon, trailing_slash=false) }}">
{% endif %}
{% endblock metatags %}
{% if config.generate_feed %}
{% if config.generate_feeds %}
{% block feed %}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
{% endblock feed %}
Expand Down

0 comments on commit 309f070

Please sign in to comment.