layouts: partials: add link to Atom Feed in header

This commit is contained in:
Bruno BELANYI 2021-01-04 15:49:02 +01:00
parent 3fb0cb9f8c
commit 2f8b439582

View file

@ -3,3 +3,6 @@
<link rel="stylesheet" type="text/css" href="https://tikzjax.com/v1/fonts.css">
<script async src="https://tikzjax.com/v1/tikzjax.js"></script>
{{ end }}
{{ with .OutputFormats.Get "atom" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}