Add RSS link

This commit is contained in:
vimux 2018-09-30 22:21:38 +03:00
parent f8d952fad5
commit 6759acad62
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34

View file

@ -13,6 +13,9 @@
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
<link rel="icon" href="{{ "icons/16.png" | relURL }}" sizes="16x16" type="image/png">
<link rel="icon" href="{{ "icons/32.png" | relURL }}" sizes="32x32" type="image/png">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{ end -}}
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
{{ if not .Site.IsServer }}{{ template "_internal/google_analytics_async.html" . }}{{ end }}
</head>