From 22277e0f51f66a9ba70f5d2720983ae33b6efe84 Mon Sep 17 00:00:00 2001 From: Misaka13514 Date: Sun, 9 Jul 2023 22:25:28 +0800 Subject: [PATCH] baseof.html: reference RSS Feed in https://gohugo.io/templates/rss/#reference-your-rss-feed-in-head --- layouts/_default/baseof.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fdb6ee1..25cf244 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -31,6 +31,10 @@ + {{ range .AlternativeOutputFormats -}} + {{ printf ` + ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} {{ if eq .Site.Language.Lang "lzh" }}