diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html deleted file mode 100644 index 5f8e2ec..0000000 --- a/layouts/_default/baseof.html +++ /dev/null @@ -1,11 +0,0 @@ - - - {{- partial "head.html" . -}} - - {{- partial "header.html" . -}} -
- {{- block "main" . }}{{- end }} -
- {{- partial "footer.html" . -}} - - diff --git a/layouts/_default/list.html b/layouts/_default/list.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/index.html b/layouts/index.html index e69de29..01f8693 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -0,0 +1,23 @@ + + + + + {{- partial "head.html" . -}} + {{ .Title }} + + +
+ {{- partial "header.html" . -}} +
+
+ {{ $sourcePath := "images" }} + {{ $gallery := site.GetPage $sourcePath }} + {{ with $gallery.Resources.ByType "image" }} + {{ range . }} + x + {{ end }} + {{ end }} +
+{{- partial "footer.html" . -}} + +