~eddsalkield/edd.salkield.uk

d1563c9d36295ddb09f6b9acba183b94cf97bf27 — Edd Salkield 1 year, 2 months ago 245eedf
templates: fix feed icon
2 files changed, 3 insertions(+), 2 deletions(-)

M templates/_default/atom.xml
M templates/_default/base.html
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 }}