diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e7eadeb --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,10 @@ +{{ partial "head.html" . }} +{{ partial "header.html" . }} + +
+

{{ .Title }}

+ {{ .Content }} +
+ +{{ partial "footer.html" . }} +{{ partial "foot.html" . }} diff --git a/layouts/index.html b/layouts/index.html index 1d77aa9..d39f704 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,29 +1,5 @@ - - - - - - - - - {{ .Site.Title }} - - - - - - - +{{ partial "head.html" . }} +{{ partial "header.html" . }}

Concise Starter Template

@@ -34,11 +10,5 @@
- - - - - - +{{ partial "footer.html" . }} +{{ partial "foot.html" . }} diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html new file mode 100644 index 0000000..7f721f3 --- /dev/null +++ b/layouts/partials/foot.html @@ -0,0 +1,4 @@ + + + + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..70487a3 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,4 @@ + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..524dd82 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,16 @@ + + + + + + + + + {{ .Site.Title }} + + + + + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..4d63704 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,12 @@ + +