diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/home.html (renamed from layouts/index.html) | 1 | ||||
| -rw-r--r-- | layouts/rss.xml | 14 | ||||
| -rw-r--r-- | layouts/tags/list.html | 4 | ||||
| -rw-r--r-- | layouts/tags/term.html | 2 |
4 files changed, 10 insertions, 11 deletions
diff --git a/layouts/index.html b/layouts/_default/home.html index 85558ad..031e3b5 100644 --- a/layouts/index.html +++ b/layouts/_default/home.html @@ -1,4 +1,3 @@ -{{- /* HOMEPAGE */ -}} {{- define "main" }} <div class="homepage"> <header class="homepage__header"> diff --git a/layouts/rss.xml b/layouts/rss.xml index 4baaa59..9f70eb5 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -37,11 +37,11 @@ <link>{{ .Permalink }}</link> <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description> <generator>Hugo</generator> - <language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }} - <managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }} - <webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }} - <copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }} - <lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} + <language>{{ site.Language.LanguageCode }}</language> + {{- with $authorName }}<managingEditor>{{ . }}</managingEditor>{{ end }} + {{- with $authorName }}<webMaster>{{ . }}</webMaster>{{ end }} + {{- with .Site.Copyright }}<copyright>{{ . }}</copyright>{{ end }} + {{- if not .Date.IsZero }}<lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} {{- with .OutputFormats.Get "RSS" }} {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} {{- end }} @@ -50,9 +50,9 @@ <title>{{ .Title }}</title> <link>{{ .Permalink }}</link> <pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> - {{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }} + {{- with $authorName }}<author>{{ . }}</author>{{ end }} <guid>{{ .Permalink }}</guid> - <description>{{ .Summary | transform.XMLEscape | safeHTML }}</description> + <description>{{ .Content | transform.XMLEscape | safeHTML }}</description> </item> {{- end }} </channel> diff --git a/layouts/tags/list.html b/layouts/tags/list.html index bfe9479..651f427 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -3,10 +3,10 @@ <article class="tags-index"> <header class="tags-index__header"> <h1 class="tags-index__headline"> - {{ lang.Translate "tags.all" | default "All Tags" }} + {{ lang.Translate "tags.all_title" | default "All Tags" }} </h1> <p class="tags-index__description"> - {{ lang.Translate "tags.overview_all" | default "Overview of all topics covered on this site." }} + {{ lang.Translate "tags.all_description" | default "Overview of all topics covered on this site." }} </p> </header> diff --git a/layouts/tags/term.html b/layouts/tags/term.html index bbdc0bf..11dffa2 100644 --- a/layouts/tags/term.html +++ b/layouts/tags/term.html @@ -34,7 +34,7 @@ <footer class="tag-page__footer"> <nav class="tag-page__navigation" aria-label="{{ lang.Translate "tags.navigation" | default "Tag navigation" }}"> <a href="{{ .Parent.RelPermalink }}" class="tag-page__view-all-link"> - {{ lang.Translate "tags.all_tags" | default "All tags" }} » + {{ lang.Translate "tags.all_title" | default "All tags" }} » </a> </nav> </footer> |
