M templates/_default/atom.xml => templates/_default/atom.xml +1 -2
@@ 1,8 1,7 @@
{{ `<?xml version="1.0" encoding="utf-8"?>` | safeHTML }}
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ .Title }}</title>
- <icon>/assets/images/avatar.jpg</icon>
- <link rel="self" href="{{ site.Params.url | safeURL }}{{ .URL | safeURL }}/atom.xml" />
+ <link rel="self" type="application/atom+xml" href="{{ site.Params.url | safeURL }}{{ .URL | safeURL }}atom.xml" />
<updated>{{ site.Generated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
<id>{{ site.Params.url | safeURL }}{{ .URL | safeURL }}</id>
<author>
M templates/_default/base.html => templates/_default/base.html +2 -0
@@ 5,6 5,8 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.Title }}</title>
+ <link rel="alternate" type="application/atom+xml" title="Sitewide Atom feed" href="/blog/atom.xml">
+ <link rel="icon" type="image/png" href="/assets/images/avatar.jpg">
{{ block "head" $ }}{{ end }}