From b46d6da8ba21f6e043438f4ca5ad72d38bb0d009 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Fri, 13 May 2022 20:12:07 +0800 Subject: [PATCH] add feed support, place the hyperlink at footer --- layouts/partials/footer.html | 14 ++++++++++++-- layouts/partials/head.html | 10 ++++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index bd9fdce..aeb8d16 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,13 +1,23 @@ \ No newline at end of file + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 74f207e..fd0d8e9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,12 +1,14 @@ +{{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} +{{ end -}} + {{/* load mermaid if any mermaid code block */}} {{ if .Page.Store.Get "hasMermaid" }} - - + + {{ end }} {{ with .Site.Params.remark42 }}