Look: Terminal theme (panr/hugo-theme-terminal v4.2.6), adapted to the museum

Theme vendored unmodified in themes/terminal; base, head, header, footer and post templates
rewritten in its markup; museum components restyled in assets/css/museum.css. Embedded forum
threads follow the same colours.

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-13 19:03:12 +02:00
co-authored by Claude Opus 5.5
parent b1301dcafb
commit 7d3b1bec89
62 changed files with 2631 additions and 243 deletions
+11 -9
View File
@@ -1,11 +1,13 @@
<article class="post-summary">
{{ with partial "banner.html" (dict "page" . "width" 640) }}
<a class="post-image" href="{{ $.RelPermalink }}"><img src="{{ . }}" alt="" loading="lazy"></a>
{{ end }}
<div>
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<p class="meta">{{ if not .Date.IsZero }}<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2 January 2006" }}</time>{{ end }}{{ with .GetTerms "author" }}{{ if not $.Date.IsZero }} · {{ end }}{{ partial "terms.html" (dict "page" $ "taxonomy" "author") }}{{ end }}</p>
<div class="summary">{{ .Summary }}</div>
{{ if .Truncated }}<p><a href="{{ .RelPermalink }}">Read more →</a></p>{{ end }}
{{/* a post in a list, in the theme's markup */}}
<article class="post on-list">
<h2 class="post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<div class="post-meta">
{{- if not .Date.IsZero }}<time class="post-date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time>{{ end -}}
{{- with .GetTerms "author" }}<span class="post-author">{{ partial "terms.html" (dict "page" $ "taxonomy" "author") }}</span>{{ end -}}
</div>
{{ with partial "banner.html" (dict "page" . "width" 1000) }}
<a class="post-image" href="{{ $.RelPermalink }}"><img class="post-cover" src="{{ . }}" alt="" loading="lazy"></a>
{{ end }}
<div class="post-content">{{ .Summary }}</div>
{{ if .Truncated }}<div><a class="read-more button inline" href="{{ .RelPermalink }}">[Read more]</a></div>{{ end }}
</article>