From 54429504aa1c436eb99c035a968b23e2c0d0355b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 11 Nov 2017 21:56:23 +0000 Subject: [PATCH] Move navbar to partial --- layouts/_default/baseof.html | 25 +------------------------ layouts/partials/navbar.html | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 24 deletions(-) create mode 100644 layouts/partials/navbar.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fd20a37..5bf0592 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,30 +16,7 @@ - +{{ partial "navbar.html" . }} {{ block "main" . }}{{ end }} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html new file mode 100644 index 0000000..72583f9 --- /dev/null +++ b/layouts/partials/navbar.html @@ -0,0 +1,24 @@ +