added description

This commit is contained in:
Nils Schulte 2020-07-26 16:55:40 +02:00
parent f0ec48a36c
commit 98fe1d6fed
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ .Site.Title }}</title>
<subtitle>{{ .Site.Params.description }}</subtitle>
<link href="{{ .Permalink }}"/>
{{ with .OutputFormats.Get "Atom" }}
{{ printf "<link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}

View File

@ -3,7 +3,7 @@
<channel>
<title>{{ .Site.Title }}</title>
<link>{{ .Permalink }}</link>
<description>{{ .Site.Description }}</description>
<description>{{ .Site.Params.description }}</description>
<image><url>{{ .Site.BaseURL }}img/favicon.ico</url></image>
<generator>Hugo</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}