Skip to content

Commit

Permalink
Update Zola feed config for v0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Aug 30, 2024
1 parent bd2d4cd commit bb09cba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ title = "The SILE Typesetter"
compile_sass = true
build_search_index = false

generate_feed = true
feed_filename = "feed.xml"
generate_feeds = true
feed_filenames = [ "feed.xml" ]

[slugify]
paths = "safe"
Expand Down
2 changes: 1 addition & 1 deletion templates/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>SILE – {{ page.title | default(value="Home") }}</title>
<meta name="viewport" content="width=device-width">
{% block rss %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path=config.feed_filename, trailing_slash=false) }}">
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path=config.feed_filenames[0], trailing_slash=false) }}">
{% endblock %}

<!-- Custom CSS -->
Expand Down

0 comments on commit bb09cba

Please sign in to comment.