a
9aa43df629
The basic parts of the layouts/theme should work. I have only populated 2 albums so far.
26 lines
No EOL
430 B
HTML
26 lines
No EOL
430 B
HTML
{{ define "main" }}
|
|
{{ if not hugo.IsProduction }}
|
|
<aside class="development-info">
|
|
<p>template: list.html</p>
|
|
{{debug.Dump .}}
|
|
</aside>
|
|
{{ end }}
|
|
<main>
|
|
<header>
|
|
<div class="container">
|
|
<h1>{{ .Title }}</h1>
|
|
</div>
|
|
</header>
|
|
<section>
|
|
<div class="container">
|
|
<ul>
|
|
{{ range .Pages }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
{{ end }} |