diff options
author | Kaito Sugimoto <hellorusk1998@gmail.com> | 2022-10-01 04:48:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 04:48:59 +0300 |
commit | 34aef1b69124c0e9de2e9b9f6622b646e25c66e2 (patch) | |
tree | fb6813f606f058d337d0adddfe8eedce3c26b3c1 | |
parent | 2174285f03fb435e4202c98e23eb216b32cc89fe (diff) | |
parent | a1c959db92b7fd3876272a39ce09fb212a17ef2a (diff) |
Merge pull request #11 from daenney/daenney/rss
Add feed syndication
-rw-r--r-- | layouts/partials/head.html | 3 |
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 }} |