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 @@
|
||||
{{/* list of {title, subtitle, text, image} */}}
|
||||
<div class="gallery">
|
||||
{{ range $item := . }}
|
||||
<figure>
|
||||
{{ with .image }}<a href="{{ . }}"><img src="{{ . }}" alt="{{ $item.title }}" loading="lazy"></a>{{ end }}
|
||||
<figcaption>
|
||||
{{ with .title }}<strong>{{ . }}</strong>{{ end }}
|
||||
{{ with .subtitle }}<em>{{ . }}</em>{{ end }}
|
||||
{{ with .text }}<div>{{ . | safeHTML }}</div>{{ end }}
|
||||
</figcaption>
|
||||
</figure>
|
||||
{{ end }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user