diff options
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> |