add rss reference to head

This commit is contained in:
Greg Gauthier 2023-01-25 14:35:48 +00:00
parent b3ca054e39
commit 1a3a16f1a7
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
<head>
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ $css := "css/index.css" | relURL }}