add stuff & i dont really want to do this but i have no choice. testing in prod....

This commit is contained in:
hhh 2024-12-01 13:11:16 +02:00
parent df2491f0c0
commit 73a51d5fbd
27 changed files with 311 additions and 19 deletions

View file

@ -0,0 +1,20 @@
{{ partial "header.html" . }}
{{if not .IsHome }}
<h1>{{ .Title | markdownify }}</h1>
{{ end }}
{{ .Content }}
<ul>
{{ $pages := .Pages }}
{{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
{{ range (where $pages "Section" "!=" "") }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
{{ partial "footer.html" . }}