15 lines
342 B
HTML
15 lines
342 B
HTML
{{ define "main" }}
|
|
<h1>{{ .Title }}</h1>
|
|
{{ .Content }}
|
|
<section class="gallery">
|
|
{{ range .Pages }}
|
|
<a class="blur-on-hover" href="{{ .RelPermalink }}">
|
|
{{ with index (.Resources.ByType "image") 0 }}
|
|
<img alt="{{ .Title }}" src="{{ (.Fill "560x560").RelPermalink }}">
|
|
{{ end }}
|
|
<p>{{ .Title }}</p>
|
|
</a>
|
|
{{ end }}
|
|
</section>
|
|
{{ end }}
|