Compare commits

...

4 commits

Author SHA1 Message Date
Lyes
a1b6e4614f
Merge pull request #24 from Horgix/zola-0.19-breaking-change-paths-on-section
Remove `path` frontmatter on section as per Zola 0.19 breaking changes
2024-07-31 03:57:00 +01:00
Lyes
309f0703ae
Merge pull request #23 from Horgix/zola-0.19-breaking-change-generate_feeds
Rename `generate_feed` into `generate_feeds` as per Zola 0.19 breaking changes
2024-07-31 03:56:45 +01:00
Alexis Horgix Chotard
e116ee5977 fix(content): remove path frontmatter on section as per Zola 0.19 breaking changes 2024-07-24 04:50:15 +02:00
Alexis Horgix Chotard
247462516c fix(config, templates): rename generate_feed into generate_feeds as per Zola 0.19 breaking changes 2024-07-24 04:34:29 +02:00
4 changed files with 3 additions and 4 deletions

View file

@ -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." 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 compile_sass = false
minify_html = true minify_html = true
generate_feed = true generate_feeds = true
default_language = "en" default_language = "en"
taxonomies = [ taxonomies = [

View file

@ -1,6 +1,5 @@
+++ +++
paginate_by = 15 paginate_by = 15
path = "blog"
title = "All blog posts" title = "All blog posts"
sort_by = "date" sort_by = "date"
page_template = "blog-page.html" page_template = "blog-page.html"

View file

@ -15,7 +15,7 @@
</p> </p>
</div> </div>
{% if config.generate_feed %} {% if config.generate_feeds %}
<div> <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> <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> </div>

View file

@ -84,7 +84,7 @@
<link rel="shortcut icon" type="image/x-icon" href="{{ get_url(path=config.extra.favicon, trailing_slash=false) }}"> <link rel="shortcut icon" type="image/x-icon" href="{{ get_url(path=config.extra.favicon, trailing_slash=false) }}">
{% endif %} {% endif %}
{% endblock metatags %} {% endblock metatags %}
{% if config.generate_feed %} {% if config.generate_feeds %}
{% block feed %} {% block feed %}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}"> <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false) }}">
{% endblock feed %} {% endblock feed %}