forked from jakub/jakubb-hugo
25 lines
477 B
HTML
25 lines
477 B
HTML
|
{{ partial "header.html" . }}
|
||
|
{{ partial "nav.html" . }}
|
||
|
<div class="content">
|
||
|
|
||
|
<h1>{{ .Title }}</h1>
|
||
|
|
||
|
{{ .Content }}
|
||
|
|
||
|
{{ $path := .Page.File.Path | strings.TrimSuffix (path.Ext .Page.File.Path) }}
|
||
|
{{ $images := where (resources.Match "photos/test1/*" ) "ResourceType" "eq" "image" }}
|
||
|
|
||
|
<div class="gallery" >
|
||
|
{{ range $images }} <div class="gallery-item"> <img src="{{ .RelPermalink }}" /> {{ end }}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<style>
|
||
|
</style>
|
||
|
|
||
|
{{ partial "footer.html" . }}
|