From 026da97e86656d29a3e780d8f78abae9eb48204d Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sat, 13 Oct 2018 10:10:13 +0200 Subject: more work --- layouts/index.html | 23 +++-------------------- layouts/partials/footer.html | 4 ++++ layouts/partials/head.html | 0 layouts/partials/header.html | 16 ++++++++++++++++ 4 files changed, 23 insertions(+), 20 deletions(-) delete mode 100644 layouts/partials/head.html diff --git a/layouts/index.html b/layouts/index.html index c4ac96a..6d3b85c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,20 +1,3 @@ - - - - - - - - - - - - - - - -

Hello world! This is HTML5 Boilerplate.

- - - - +{{ partial "header" . }} +

Hello world! This is HTML5 Boilerplate.

+{{ partial "footer" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..f5562b7 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,4 @@ + + + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e69de29..45614b8 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -0,0 +1,16 @@ + + + + + + + {{ .Title }} {{ if ne .Title .Site.Title }} · {{ .Site.Title }}{{ end }} + + + + + + + + +
-- cgit v1.2.3