diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6091cfb..77cf52f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,10 @@ - + - - {{ or .Title .Site.Title }}{{ if ne .Kind "home" }} | {{ .CurrentSection.Title }}{{ end }} - {{ $style := resources.Get "scss/style.scss" | toCSS | minify }} - + {{ partial "head/defaults.html" . }} + {{ partial "head/styling.html" . }} + {{ partial "head/sharing.html" . }} {{ block "page" . }}{{ end }} diff --git a/layouts/home.html b/layouts/home.html index 8a5a178..fafc403 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -1,14 +1,16 @@ - - - - - {{ or .Title .Site.Title }} - {{ $style := resources.Get "scss/style.scss" | toCSS | minify }} - - - -

{{ .Site.Title }}

- {{ .Content }} - + + + + {{ or .Title .Site.Title }} + {{ partial "head/defaults.html" . }} + {{ partial "head/styling.html" . }} + {{ partial "head/sharing.html" . }} + + + +

{{ .Site.Title }}

+ {{ .Content }} + + \ No newline at end of file diff --git a/layouts/partials/head/defaults.html b/layouts/partials/head/defaults.html new file mode 100644 index 0000000..98df045 --- /dev/null +++ b/layouts/partials/head/defaults.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/layouts/partials/head/sharing.html b/layouts/partials/head/sharing.html new file mode 100644 index 0000000..63b758b --- /dev/null +++ b/layouts/partials/head/sharing.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/layouts/partials/head/styling.html b/layouts/partials/head/styling.html new file mode 100644 index 0000000..b1fdfc6 --- /dev/null +++ b/layouts/partials/head/styling.html @@ -0,0 +1,3 @@ +{{ $style := resources.Get "scss/style.scss" | toCSS | minify }} + + \ No newline at end of file