From ebb14fb8e4737db4afcebad1f2f6ea4d4e1a3c1e Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Tue, 16 Oct 2018 19:04:35 +0200 Subject: Add partials for single post header and footer --- layouts/_default/single.html | 5 +++++ layouts/partials/single/footer.html | 5 +++++ layouts/partials/single/header.html | 9 +++++---- layouts/partials/single/title.html | 2 ++ 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 layouts/partials/single/footer.html create mode 100644 layouts/partials/single/title.html (limited to 'layouts') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7c6592a..f705d3c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,9 +2,14 @@
+ {{ partial "single/post-info.html" . }} + {{ partial "single/title.html" . }} + {{ partial "single/header.html" . }} {{ .Content }} + + {{ partial "single/footer.html" . }}