Small refactoring and improved legal page and more whitespace.

This commit is contained in:
Marvin Blum
2020-06-24 14:51:19 +02:00
committed by Marvin Blum
parent 0c92f47e33
commit 4515f3d165
8 changed files with 102 additions and 68 deletions

View File

@@ -3,7 +3,9 @@
<section>
<h1>Blog</h1>
{{range $year, $articles := .Articles}}
</section>
{{range $year, $articles := .Articles}}
<section>
<h2>{{$year}}</h2>
{{range $article := $articles}}
@@ -12,9 +14,11 @@
<small>{{format $article.Published "2. January 2006"}}</small>
</p>
{{end}}
{{else}}
</section>
{{else}}
<section>
<p>There are no blog posts yet...</p>
{{end}}
</section>
</section>
{{end}}
{{template "end.html"}}