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:
2026-10-11 15:50:14 +02:00
co-authored by Claude Opus 5.5
commit cf3a03350c
1025 changed files with 7196 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
<p>{{ len .RegularPages }} manufacturers.</p>
<ul class="columns">
{{ range .RegularPages.ByTitle }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a> <small>({{ len .Params.machines }})</small></li>
{{ end }}
</ul>
{{ end }}
+13
View File
@@ -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 }}