diff --git a/History.markdown b/History.markdown index 919afa8a..2259e08e 100644 --- a/History.markdown +++ b/History.markdown @@ -14,6 +14,10 @@ * Icon and logo support with simple tests (#412) +### Bug Fixes + + * Include the tag name in the title of per-tag feeds, matching category feeds (#406) + ## 0.17.0 / 2022-10-14 ### Documentation diff --git a/lib/jekyll-feed/feed.xml b/lib/jekyll-feed/feed.xml index dfc0bfff..4b5df418 100644 --- a/lib/jekyll-feed/feed.xml +++ b/lib/jekyll-feed/feed.xml @@ -18,6 +18,10 @@ {% assign category = page.category | capitalize %} {% assign title = title | append: " | " | append: category %} {% endif %} + {% if page.tags %} + {% assign tag = page.tags | capitalize %} + {% assign title = title | append: " | " | append: tag %} + {% endif %} {% if title %}