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,13 @@
|
||||
{{ define "main" }}
|
||||
<article>
|
||||
<p class="crumbs"><a href="{{ .Parent.RelPermalink }}">Companies</a></p>
|
||||
<h1>{{ with .Params.logo }}<img class="logo" src="{{ . }}" alt="">{{ end }}{{ .Title }}</h1>
|
||||
<div class="content">{{ .Content }}</div>
|
||||
{{ with .Params.machines }}
|
||||
<h2>Systems</h2>
|
||||
{{ $pages := slice }}
|
||||
{{ range . }}{{ with site.GetPage . }}{{ $pages = $pages | append . }}{{ end }}{{ end }}
|
||||
{{ partial "page-list.html" $pages }}
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user