Hugo site: layouts, config and pilot content
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div class="content">{{ .Content }}</div>
|
||||
<div class="cards">
|
||||
{{ range site.Menus.main }}
|
||||
{{ with .Page }}
|
||||
<a class="card" href="{{ .RelPermalink }}">
|
||||
<strong>{{ .Title }}</strong>
|
||||
<span>{{ len .RegularPages }} {{ if eq (len .RegularPages) 1 }}page{{ else }}pages{{ end }}</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<h2>Browse the museum</h2>
|
||||
{{ partial "browse.html" . }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user