birdsounds.media/layouts/_default/albums.html
a 9aa43df629 First commit
The basic parts of the layouts/theme should work. I have only populated 2 albums so far.
2024-05-17 21:14:05 -05:00

21 lines
No EOL
422 B
HTML

{{ define "main" }}
{{ if not hugo.IsProduction }}
<aside class="development-info">
<p>template: albums.html</p>
<p>{{debug.Dump .}}</p>
<p><br></p>
</aside>
{{ end }}
<main>
<header class="section">
<div class="container">
<h1>{{ .Title }}</h1>
</div>
</header>
<section class="section">
<div class="container">
{{ partial "albums-list.html" .Data.Pages.Reverse }}
</div>
</section>
</main>
{{ end }}