cleanup
Some checks are pending
Build and Push Docker Container / build-and-push (push) Waiting to run

This commit is contained in:
2025-03-15 01:01:27 +01:00
parent b2d3f38bee
commit 699d2f9bcf
21 changed files with 245 additions and 565 deletions

View File

@@ -39,25 +39,27 @@
<body>
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
<main>
<header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header>
<header>
<h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1>
</header>
<article>
{{ block "main" . }}
{{ .Content }}
{{ end }}
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
{{ block "main" . }}
{{ .Content }}
{{ end }}
</article>
{{ if .Params.tags }}
<p style="margin-block-start: 3em;">Tags:
{{ if .Params.tags }}
<p class="taglist" >Tags:
{{ $tags := .Params.tags }}
{{ range $index, $tag := $tags }}
<a href="{{ "tags/" | relLangURL }}{{ $tag | urlize }}">{{ $tag }}</a>{{ if lt (add $index 1) (len $tags) }}, {{ end }}
<a class="tag" href="{{ "tags/" | relLangURL }}{{ $tag | urlize }}">{{ $tag }}</a>{{ if lt (add $index 1) (len $tags) }}, {{ end }}
{{ end }}
</p>
{{ end }}
</main>
{{ block "footer" . }}
<footer>
<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a>

View File

@@ -1,20 +1,14 @@
{{ define "title" -}}
{{ .Title | title }}
{{ if eq .Kind "term" }}🏷️ {{end}}{{ .Title | title }}
{{- end }}
{{ define "main" -}}
{{ .Content }}
<ul>
{{- range.Pages }}
<li>
{{- if .Param "datesinlist" }}<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> &ndash; {{ end -}}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{- if .Param "authorsinlist" }}
{{ with .Params.authors }}
by
{{ delimit . ", " " und " }}
{{end}}
{{ end -}}
</li>
{{- end }}
</ul>
{{ .Content }}
<ul>
{{- range.Pages }}
<li class="no-before">
<a class="no-underline" href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{- end }}
</ul>
{{- end }}