diff --git a/layouts/page/single.html b/layouts/page/single.html new file mode 100644 index 0000000..2497e1b --- /dev/null +++ b/layouts/page/single.html @@ -0,0 +1,15 @@ +{{ define "header" }}{{ partial "page-header.html" . }}{{ end }} +{{ define "main" }} +
+
+
+

+ +

+
+ +
+
+{{ end }} diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html new file mode 100644 index 0000000..4afa1a0 --- /dev/null +++ b/layouts/partials/site-footer.html @@ -0,0 +1,11 @@ + diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html new file mode 100644 index 0000000..32184fe --- /dev/null +++ b/layouts/partials/site-header.html @@ -0,0 +1,35 @@ +{{ $featured_image := partial "func/GetFeaturedImage.html" . }} +{{ if $featured_image }} + {{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}} +
+
+ {{ partial "site-navigation.html" .}} +
+

+ +

+ {{ with .Params.description }} +

+ {{ . }} +

+ {{ end }} +
+
+
+{{ else }} +
+
+ {{ partial "site-navigation.html" . }} +
+

+ {{ .Title | default .Site.Title }} +

+ {{ with .Params.description }} +

+ {{ . }} +

+ {{ end }} +
+
+
+{{ end }}