From fc6653d780e67f788ee450388d4bd5df3d70cbee Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 14 Feb 2016 15:31:01 +0100 Subject: [PATCH] Add partial layouts for header and footer --- layouts/partials/footer.html | 12 ++++++++++++ layouts/partials/head.html | 25 +++++++++++++++++++++++++ layouts/partials/header.html | 15 +++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 00000000..64abebb1 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 00000000..59203479 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,25 @@ + + + + + + + + {{ with .Site.Params.author }}{{ end }} + {{ with .Site.Params.description }}{{ end }} + + + {{ .Title }}{{ if not .IsHome }} · {{ .Site.Title }}{{end}} + + + + + {{ if .RSSlink }} + + + {{ end }} + + + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 00000000..4e558001 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,15 @@ + + + +{{ partial "head.html" . }} + +
+ +
+

+ {{ .Site.Title }} + {{ replace .Site.Params.subtitle " " " " | safeHTML }} +

+
+ +