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,6 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p>{{ len .RegularPages }} systems.</p>
|
||||
{{ partial "browse.html" . }}
|
||||
{{ partial "letters.html" (.RegularPages.ByTitle) }}
|
||||
{{ end }}
|
||||
@@ -0,0 +1,8 @@
|
||||
{{ define "main" }}
|
||||
<article class="machine">
|
||||
{{ partial "machine-header.html" (dict "machine" . "tab" "") }}
|
||||
{{ with .Params.image }}<img class="main-image" src="{{ . }}" alt="{{ $.Title }}">{{ end }}
|
||||
<div class="content">{{ .Content }}</div>
|
||||
{{ with .Params.specs }}{{ partial "specs.html" . }}{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user