Update theme to show post list on top level again

This commit is contained in:
jaseg 2021-11-25 11:54:39 +01:00
parent 396c62e422
commit e7a91af6b5
28 changed files with 23 additions and 8 deletions

View file

@ -1,4 +1,4 @@
baseURL = "https://blog.jaseg.de/"
languageCode = "en-us"
title = "jaseg.de"
theme = "hugo-classic"
title = "blog.jaseg.de"
theme = "blog.jaseg.de"

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 235 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 127 KiB

Before After
Before After

View file

@ -0,0 +1,14 @@
{{ partial "header.html" . }}
<h1>{{ site.Title }}</h1>
<ul>
{{ range (where site.RegularPages "Section" "==" "posts") }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
<a href="{{ .URL }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ partial "footer.html" . }}

View file

@ -9,7 +9,8 @@
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC-BY-NC-SA 4.0</a>.
</div>
<div id="imprint-info">
<a href="/imprint">Impressum und Haftungsausschluss und Datenschutzerklärung</a>.
<a href="/imprint">Impressum und Haftungsausschluss und Datenschutzerklärung</a>.<br/>
<a href="/about">About this blog</a>.
</div>
</footer>
</body>

View file

@ -1,15 +1,15 @@
name = "Hugo - Classic"
name = "blog.jaseg.de"
license = "MIT"
licenselink = "https://github.com/goodroot/hugo-classic/blob/master/LICENSE.md"
description = "A minimal blog theme, for those who love text. Based off the eXtremely minimal theme by Yihui Xui."
description = "Custom theme for blog.jaseg.de"
homepage = "https://goodroot.ca"
tags = ["minimal", "blog", "personal", "simple", "clean", "starter", "minimalist"]
tags = ["blog", "personal", "simple"]
features = ["blog"]
min_version = "0.18"
[author]
name = "Kellen Evan Person"
homepage = "https://goodroot.ca"
name = "jaseg"
homepage = "https://blog.jaseg.de"
[original]
author = "Yihui Xui"