taxonomies (categories, tags, year/month/slug), syntax.css und Blog (posts).

This commit is contained in:
Franz Klotsche
2025-11-22 18:50:09 +01:00
parent dc0b5d8cfc
commit 230912cb0c
100 changed files with 4699 additions and 290 deletions

View File

@@ -1,10 +1,18 @@
{{ define "main" }}
{{ .Content }}
<h3>Projekt</h3>
<p>Das letzte Projekt was aktualisiert wurde:
{{ range first 1 (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
<h2>{{ .Date.Format "January" }} Blog-Posts</h2>
<p>
{{ range first 3 (where .Site.RegularPages "Type" "in" "posts").ByDate.Reverse }}
<ul>
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
</ul>
{{ end }}
</p>
{{ .Content }}
<h3>Projekt</h3>
<p>Das letzte Projekt was aktualisiert wurde:
{{ range first 1 (where .Site.RegularPages "Type" "in" "projects").ByDate.Reverse }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
</p>
{{ end }}
</p>
{{ end }}