added atom feed
This commit is contained in:
parent
02ae20de4d
commit
40b7e45070
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
public/*
|
||||
static/fonts/*
|
||||
resources/*
|
||||
deploy.sh
|
||||
|
15
config.toml
15
config.toml
@ -5,3 +5,18 @@ title = "nilsschulte.de"
|
||||
|
||||
pygmentsCodeFences = true
|
||||
pygmentsCodeFencesGuessSyntax = true
|
||||
|
||||
|
||||
[outputs]
|
||||
home = ["HTML"]
|
||||
section = ["HTML", "RSS", "Atom"]
|
||||
|
||||
[mediaTypes."application/atom+xml"]
|
||||
suffixes = ["xml"]
|
||||
|
||||
[outputFormats.RSS]
|
||||
mediaType = "application/xml"
|
||||
baseName = "rss"
|
||||
[outputFormats.Atom]
|
||||
mediaType = "application/atom+xml"
|
||||
baseName = "atom"
|
||||
|
@ -5,11 +5,9 @@
|
||||
<title>{{ partial "title.txt" . }}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ $.Site.Title }}" />
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/normalize.css">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}\img\favicon.ico" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user