a
9aa43df629
The basic parts of the layouts/theme should work. I have only populated 2 albums so far.
18 lines
No EOL
391 B
HTML
18 lines
No EOL
391 B
HTML
{{ define "main" }}
|
|
{{ if not hugo.IsProduction }}
|
|
<aside class="development-info">
|
|
<p>template: all-photos.html</p>
|
|
{{debug.Dump .}}
|
|
</aside>
|
|
{{ end }}
|
|
<main>
|
|
<header class="section">
|
|
<div class="container">
|
|
</div>
|
|
</header>
|
|
<section class="all-photos">
|
|
{{ $photos := where .RegularPages "Type" "photos" }}
|
|
{{ partial "photos-grid.html" $photos }}
|
|
</section>
|
|
</main>
|
|
{{ end }} |