From 12503fd8211bbdf07d5211ad49645bfd0fef8a3e Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Thu, 13 Aug 2020 17:24:30 +0300 Subject: First changes for separate section feeds https://github.com/getzola/zola/pull/1128 --- templates/feed.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates') 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 @@ - 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 -%} {%- if config.description %} @@ -13,9 +16,6 @@ {{ last_updated | date(format="%+") }} {{ feed_url | safe }} {%- for page in pages %} - {% if page.permalink is containing("/food/") %} - {% continue %} - {% endif %} {{ page.title }} {{ page.date | date(format="%+") }} -- cgit v1.2.3