birdsounds.media/layouts/_default/photo.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

34 lines
893 B
HTML

{{ define "main" }}
{{ if not hugo.IsProduction }}
<aside class="development-info">
<p>template: photo.html</p>
{{debug.Dump .}}
</aside>
{{ end }}
<main class="photo-page">
<article class="h-entry photo">
<h1 class="p-name title">{{ .Title }}</h1>
<p class="p-summary caption">{{ .Summary | markdownify }}</p>
{{ partial "photo_asset.html" .}}
{{ partial "photo_asset.exif.html" .}}
<footer class="section">
{{ partial "next-prev-photo-in-album.html" . }}
{{ with .Params.tags }}
<section class="section">
<div class="container">
<ul class="tags">
{{ range . }}
<li>
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">
#{{.}}
</a>
</li>
{{ end }} {{/* range */}}
</ul>
</div>
</section>
{{ end }} {{/* with tags */}}
</footer>
</article>
</main>
{{ end }}