some changes to themes

This commit is contained in:
fzorb 2025-01-16 11:26:30 +02:00
parent 26c526e433
commit 8237b6aa19
51 changed files with 852 additions and 12 deletions

View file

@ -0,0 +1,7 @@
!{{ .Title }}
{{ .RawContent }}
{{ range .Pages.ByPublishDate.Reverse }}
0{{ .Title }} {{ with .OutputFormats.Get "gopher" -}}{{ .RelPermalink }} {{ $.Site.Params.hostname}} 70 {{ end }}
{{ end }}

View file

@ -13,6 +13,7 @@
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
<p>{{ .Summary }}</p>
</li>
{{ end }}
</ul>

View file

@ -0,0 +1,8 @@
# {{ .Title }}
{{ .Date.Format (.Site.Params.dateform | default "N/A") }}
{{ if .Params.tags }}
Posted in: {{ range .Params.tags }}{{ . }} {{ end }}
{{ end }}
{{ .RawContent }}

View file

@ -0,0 +1,13 @@
!{{ .Title }}
{{ .RawContent }}
Site sections:
{{ range .Site.Menus.main }}
1{{ .Name }} {{ .Identifier }} {{ $.Site.Params.hostname }} 70
{{ end }}
Most recent articles
{{ range first 3 .Pages.ByPublishDate.Reverse }}
0{{ .Title }} {{ with .OutputFormats.Get "gopher" -}}{{ .RelPermalink }} {{ $.Site.Params.hostname }} 70 {{ end }}
{{ end }}