a
9aa43df629
The basic parts of the layouts/theme should work. I have only populated 2 albums so far.
21 lines
No EOL
422 B
HTML
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 }} |