Tables with a header row can be sorted by clicking a column header

Listing tables on company, taxonomy and generic list pages get column headers.

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-12 21:03:41 +02:00
co-authored by Claude Opus 5.5
parent c913d792c4
commit dfb2d2ce68
7 changed files with 83 additions and 12 deletions
+1 -1
View File
@@ -3,6 +3,6 @@
<h1>{{ .Title }}</h1>
{{ range .Pages.GroupBy "Section" }}
<h2>{{ with site.GetPage (printf "/%s" .Key) }}{{ .Title }}{{ end }} <small>({{ len .Pages }})</small></h2>
{{ partial "page-list.html" .Pages.ByTitle }}
{{ partial "page-list.html" (dict "pages" .Pages.ByTitle "head" true) }}
{{ end }}
{{ end }}