meta: Add Atom feed
This commit is contained in:
parent
67bb8ddac9
commit
321309971c
21 changed files with 146 additions and 86 deletions
30
layouts/_partials/head.html
Normal file
30
layouts/_partials/head.html
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name="description" content="Blog von Jan Kremer" />
|
||||
<meta name="keywords" content="Blog" />
|
||||
<meta name="author" content="Jan Kremer" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="shortcut icon" href="/favicon.ico" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<meta name="apple-mobile-web-app-title" content="MyWebSite" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
{{ with .OutputFormats.Get "rss" }}
|
||||
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
<title>
|
||||
{{ if .IsHome }}
|
||||
{{ site.Title }}
|
||||
{{ else }}
|
||||
{{ printf "%s – %s" .Title
|
||||
site.Title
|
||||
}}
|
||||
{{ end }}
|
||||
</title>
|
||||
{{ partialCached "head/css.html" . }}
|
||||
{{ partialCached "head/js.html" . }}
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%q" type="%q" href="%q" title="%q" />` .Rel .MediaType.Type
|
||||
.Permalink site.Title | safeHTML
|
||||
}}
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue