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
14 lines
851 B
HTML
14 lines
851 B
HTML
{{/* 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>
|