From 00029100415444ff7e8b40019c0f81647c9a7fd2 Mon Sep 17 00:00:00 2001 From: Christopher Guindon Date: Wed, 14 Jul 2021 12:42:49 -0400 Subject: [PATCH] shortcode for toolbar Signed-off-by: Christopher Guindon --- layouts/partials/header.html | 3 ++- layouts/partials/navbar.html | 33 +++-------------------------- layouts/partials/toolbar.html | 39 +++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 31 deletions(-) create mode 100644 layouts/partials/toolbar.html diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d205c7c4..bd18683c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,4 @@ - - -
-
-
-
- -
-
-
-
@@ -57,7 +30,7 @@ {{ $currentPageLogoLink = .logo_url }} {{ end }} {{ end }} - + @@ -75,7 +48,7 @@ {{ if (eq (len (findRE `(\.[^\/]{3,4}|\/)$` $normalized_cta_url)) 0) }} {{ $normalized_cta_url = printf "%s/" $normalized_cta_url }} {{ end }} - + {{ $abs_cfa := printf "%s" ($normalized_cta_url | relURL) }} {{ $is_cfa_page := 0 }} {{ if or (eq $normalized_cta_url .Permalink) (eq $abs_cfa .Permalink) }} diff --git a/layouts/partials/toolbar.html b/layouts/partials/toolbar.html new file mode 100644 index 00000000..eed79d19 --- /dev/null +++ b/layouts/partials/toolbar.html @@ -0,0 +1,39 @@ + + +
+
+
+
+ +
+
+
+
\ No newline at end of file