diff options
Diffstat (limited to 'layouts/section.html')
| -rw-r--r-- | layouts/section.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/section.html b/layouts/section.html index b4d49c0..3123e18 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -1,18 +1,18 @@ -{{ define "main" -}} +{{ define "main" }} <nav> <p>{{ emojify ":link:" }} <a class="link link--internal" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p> </nav> <main class="main"> <h1>{{ .Title }}</h1> - {{ with .OutputFormats.Get "Atom" -}} + {{ with .OutputFormats.Get "Atom" }} <h2>{{ i18n "feeds" }}</h2> <p>{{ emojify ":link:" }} <a class="link link--internal" href="{{ .RelPermalink }}" rel="noreferrer">{{ i18n "atomFeed" }}</a></p> - {{ end -}} - {{ with .Pages.ByPublishDate.Reverse -}} + {{ end }} + {{ with .Pages.ByPublishDate.Reverse }} <h2>{{ i18n "journalEntries" }}</h2> - {{ range . -}} + {{ range . }} {{ partial "metadata.html" . }} - {{ end -}} - {{ end -}} + {{ end }} + {{ end }} </main> -{{- end }} +{{ end }} |
