From bd31268e1954aacf0fa7c4b8452b306ededd6efa Mon Sep 17 00:00:00 2001 From: "Russell J. Hewett" Date: Thu, 30 May 2019 22:06:59 -0400 Subject: [PATCH] refactor(baseof): docs cannot use baseof or else footer is displayed twice --- layouts/docs/list.html | 20 +++++++++++++++++++- layouts/docs/single.html | 20 +++++++++++++++++++- layouts/partials/docs_layout.html | 4 ---- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/layouts/docs/list.html b/layouts/docs/list.html index 6b6a6307..4236ab46 100644 --- a/layouts/docs/list.html +++ b/layouts/docs/list.html @@ -1 +1,19 @@ -{{ partial "docs_layout.html" . }} + + + +{{ partial "site_head.html" . }} + + + + {{ partial "search" . }} + + {{ partial "navbar.html" . }} + + {{ partial "docs_layout.html" . }} + + {{ partial "site_js.html" . }} + + + + + diff --git a/layouts/docs/single.html b/layouts/docs/single.html index 6b6a6307..4236ab46 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -1 +1,19 @@ -{{ partial "docs_layout.html" . }} + + + +{{ partial "site_head.html" . }} + + + + {{ partial "search" . }} + + {{ partial "navbar.html" . }} + + {{ partial "docs_layout.html" . }} + + {{ partial "site_js.html" . }} + + + + + diff --git a/layouts/partials/docs_layout.html b/layouts/partials/docs_layout.html index e2ebb32f..c8e04ea9 100644 --- a/layouts/partials/docs_layout.html +++ b/layouts/partials/docs_layout.html @@ -1,5 +1,3 @@ -{{- define "main" -}} - {{ $current_page := . }}
@@ -51,5 +49,3 @@
- -{{- end -}}