diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..28dcb14 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,37 @@ +{{ define "head" }} + {{ if .Site.Params.bgImg -}} + + {{- else if .Site.Params.images -}} + {{- range first 1 .Site.Params.images -}} + + {{- end -}} + {{- end -}} +{{ end }} + +{{ define "main" }} + {{- if (or .Site.Params.images .Site.Params.bgImg) }} +
+ {{- end }} +
+
+

{{ .Site.Title }}

+ {{- with .Site.Params.homeSubtitle }} +

{{.}}

+ {{- end }} + {{- with .Site.Params.social }} +
+ {{ partialCached "social-icons.html" . }} +
+ {{- end }} + +
+ +
+{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..2e20daa --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,7 @@ +