diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-08-13 17:24:30 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-08-13 17:24:30 +0300 |
commit | 12503fd8211bbdf07d5211ad49645bfd0fef8a3e (patch) | |
tree | d5d6202ce525229e2b5d317ce3a21f31525dd3fb /templates | |
parent | 0371efd5fbe75fcad7564114bc81abd73197473b (diff) | |
download | yaroslavps.com-12503fd8211bbdf07d5211ad49645bfd0fef8a3e.tar.gz yaroslavps.com-12503fd8211bbdf07d5211ad49645bfd0fef8a3e.zip |
First changes for separate section feeds
https://github.com/getzola/zola/pull/1128
Diffstat (limited to 'templates')
-rw-r--r-- | templates/feed.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/feed.xml b/templates/feed.xml index 66dd91c..ab5d340 100644 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -1,7 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ lang }}"> - <title>A weblog by Yaroslav de la Peña Smirnov - {%- if term %} - {{ term.name }} + <title> + {%- if section.title -%} + {{ section.title }} + {%- else -%} + A website by Yaroslav de la Peña Smirnov {%- endif -%} </title> {%- if config.description %} @@ -13,9 +16,6 @@ <updated>{{ last_updated | date(format="%+") }}</updated> <id>{{ feed_url | safe }}</id> {%- for page in pages %} - {% if page.permalink is containing("/food/") %} - {% continue %} - {% endif %} <entry xml:lang="{{ page.lang }}"> <title>{{ page.title }}</title> <published>{{ page.date | date(format="%+") }}</published> |