Posts: author pages, linked from the author name

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
This commit is contained in:
2026-10-11 20:14:39 +02:00
co-authored by Claude Opus 5.5
parent d9227e15f3
commit 8883befad8
7 changed files with 27 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
{{ define "title" }}Posts by {{ .Title }} · {{ site.Title }}{{ end }}
{{ define "main" }}
<p class="crumbs">{{ with site.GetPage "/post" }}<a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ end }} › <a href="{{ .Parent.RelPermalink }}">Authors</a></p>
<h1>Posts by {{ .Title }}</h1>
<div class="posts">
{{ range .Pages.ByDate.Reverse }}{{ partial "post-summary.html" . }}{{ end }}
</div>
{{ end }}