From 0a2795e74d49e30f639560096c157c55d33da390 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 22 Dec 2023 16:30:08 -0600 Subject: [PATCH] rename index.xml to feed.xml --- config/_default/hugo.toml | 6 ++++++ layouts/partials/about.html | 2 +- layouts/partials/archive.html | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 7dddba8..a58ec42 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -16,6 +16,12 @@ enableInlineShortcodes = true taxonomy = ['html',] term = ['html', 'rss'] +# rename rss output from index.xml to feed.xml +[outputFormats] + [outputFormats.rss] + mediatype = "application/rss" + baseName = "feed" + [permalinks] posts = ":filename" diff --git a/layouts/partials/about.html b/layouts/partials/about.html index 21d87bb..4260bb1 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -1,7 +1,7 @@ {{ with .Site.Params.about }}
{{ with .logo }}{{ end }} -

{{ .title }}  

+

{{ .title }}  

{{ partial "tagline.html" . }}
 {{ site.Params.Author }} diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html index 71f3b34..c5e3690 100644 --- a/layouts/partials/archive.html +++ b/layouts/partials/archive.html @@ -6,7 +6,7 @@ {{ if .IsHome }}

{{ site.Params.indexTitle | markdownify }}

{{ else }} -

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

{{ end }} +

{{ .Title | markdownify }}{{ if eq .Kind "term" }}  

{{ end }} {{ end }} {{ .Content }}