Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/7ma7X/HugoTeX.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaito Sugimoto <hellorusk1998@gmail.com>2022-10-01 04:48:59 +0300
committerGitHub <noreply@github.com>2022-10-01 04:48:59 +0300
commit34aef1b69124c0e9de2e9b9f6622b646e25c66e2 (patch)
treefb6813f606f058d337d0adddfe8eedce3c26b3c1
parent2174285f03fb435e4202c98e23eb216b32cc89fe (diff)
parenta1c959db92b7fd3876272a39ce09fb212a17ef2a (diff)
Merge pull request #11 from daenney/daenney/rss
Add feed syndication
-rw-r--r--layouts/partials/head.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 630b4b4..0fea61f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -18,6 +18,9 @@
{{ if site.Params.opengraph }}
{{ template "_internal/opengraph.html" . }}
{{- end }}
+{{ range .AlternativeOutputFormats -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+{{ end -}}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/latex.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
{{ if site.Params.darkmode }}