diff --git a/.gitignore b/.gitignore index 1e5de86..3124d75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ public/* static/fonts/* -resources/* \ No newline at end of file +resources/* +deploy.sh diff --git a/config.toml b/config.toml index a257697..ea94f0b 100644 --- a/config.toml +++ b/config.toml @@ -4,4 +4,19 @@ title = "nilsschulte.de" pygmentsCodeFences = true -pygmentsCodeFencesGuessSyntax = true \ No newline at end of file +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" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d93b381..7677400 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,11 +5,9 @@ {{ partial "title.txt" . }} - {{ range .AlternativeOutputFormats -}} - + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} -