diff --git a/layouts/photos/list.html b/layouts/photos/list.html new file mode 100644 index 0000000..395ad66 --- /dev/null +++ b/layouts/photos/list.html @@ -0,0 +1,22 @@ +{{ partial "header.html" . }} + {{ partial "nav.html" . }} +
+ +

{{ .Title }}

+ +{{ .Content }} + +{{ range.Data.Pages }} +
+

+ {{ .Title }} +

+ +
+{{ end }} + +
+ +{{ partial "footer.html" . }} diff --git a/layouts/photos/single.html b/layouts/photos/single.html new file mode 100644 index 0000000..0371f50 --- /dev/null +++ b/layouts/photos/single.html @@ -0,0 +1,24 @@ +{{ partial "header.html" . }} + {{ partial "nav.html" . }} +
+ +

{{ .Title }}

+ +{{ .Content }} + +{{ $path := .Page.File.Path | strings.TrimSuffix (path.Ext .Page.File.Path) }} +{{ $images := where (resources.Match "photos/test1/*" ) "ResourceType" "eq" "image" }} + + + +
+ + + +{{ partial "footer.html" . }}