fix: fix build error due to config change (#16)

This commit is contained in:
Peter Mikola 2024-07-01 14:31:59 +02:00 committed by GitHub
parent 968ba4178a
commit 6fc7951994
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View file

@ -102,14 +102,15 @@
<!-- Feeds -->
{% if config.generate_feed %}
<!---->
{% if config.feed_filename == "atom.xml" %}
{% if "atom.xml" in config.feed_filenames %}
<link
rel="alternate"
type="application/atom+xml"
title="Atom"
href="{{ get_url(path=`atom.xml`) }}"
/>
{% elif config.feed_filename == "rss.xml" %}
{% endif %}
{% if "rss.xml" in config.feed_filenames %}
<link
rel="alternate"
type="application/rss+xml"