34 lines
893 B
HTML
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 }}
|