Files
website/layouts/companies/single.html
T
yann64andClaude Opus 5.5 fda5359932 Add site search (Pagefind)
Client-side index generated after the Hugo build; search box in the
header, results page with a section filter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
2026-10-11 20:31:00 +02:00

14 lines
502 B
HTML

{{ define "main" }}
<article>
<p class="crumbs" data-pagefind-ignore><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 }}