From c04e6ebaf5135f38366940281fa0ba43e66ce16c Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Tue, 21 Apr 2020 19:28:58 +0200 Subject: [PATCH] Some tweaks --- CHANGELOG.md | 3 --- components/templates/src/builtins/atom.xml | 4 +--- docs/content/documentation/content/taxonomies.md | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96329fea..19573c8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,9 +18,6 @@ - Add `updated` front-matter field for pages, which sitemap templates will use for the `SitemapEntry.date` field instead of the `date` front-matter field, and which the default Atom feed template will use - Add `lang` to the feed template context - Add `taxonomy` and `term` to the feed template context for taxonomy feeds - -## 0.10.2 (unreleased) - - Fix link checker not looking for anchor with capital id/name - Pass missing `lang` template parameter to taxonomy list template diff --git a/components/templates/src/builtins/atom.xml b/components/templates/src/builtins/atom.xml index e4e191cc..ed6eef4a 100644 --- a/components/templates/src/builtins/atom.xml +++ b/components/templates/src/builtins/atom.xml @@ -13,9 +13,7 @@ {{ last_updated | date(format="%+") }} {{ feed_url | safe }} {%- for page in pages %} - + {{ page.title }} {{ page.date | date(format="%+") }} {{ page.updated | default(value=page.date) | date(format="%+") }} diff --git a/docs/content/documentation/content/taxonomies.md b/docs/content/documentation/content/taxonomies.md index 31efeb97..6f35b0f2 100644 --- a/docs/content/documentation/content/taxonomies.md +++ b/docs/content/documentation/content/taxonomies.md @@ -13,7 +13,7 @@ A taxonomy has five variables: - `paginate_by`: if this is set to a number, each term page will be paginated by this much. - `paginate_path`: if set, this path will be used by the paginated page and the page number will be appended after it. For example the default would be page/1. -- `feed`: if set to `true`, a feed will be generated for each term. +- `feed`: if set to `true`, a feed (atom by default) will be generated for each term. - `lang`: only set this if you are making a multilingual site and want to indicate which language this taxonomy is for **Example 1:** (one language)