Commit 3f30c91e authored by Erik Faye-Lund 's avatar Erik Faye-Lund

add link to RSS feed

By making sure we emit all alternate output-formats as re-links, we make
sure that RSS-plugins etc will offer the user to subscribe to the feed.

Without this, the RSS feed is quite hidden.
parent ae429d11
Pipeline #157579 passed with stages
in 17 seconds
......@@ -10,6 +10,10 @@
<link rel="stylesheet" href="{{ "/assets/screen.css" | relURL }}">
<link rel="stylesheet" href="" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<body class="d-flex flex-column h-100">
{{ partial "navbar.html" . }}
......@@ -23,4 +27,4 @@
<script src="" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment