From 531af7ba010f1799066b46572c4f817bd9a59c80 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Fri, 21 Oct 2022 20:25:55 -0700 Subject: [PATCH] might have a working way for css. I think the vars didnt get passed to the partial --- themes/hugo-bulma-cookbook/layouts/_default/index.html | 6 +++--- themes/hugo-bulma-cookbook/layouts/_default/list.html | 4 ++-- themes/hugo-bulma-cookbook/layouts/_default/single.html | 4 ++-- .../hugo-bulma-cookbook/layouts/partials/header.meta.html | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/themes/hugo-bulma-cookbook/layouts/_default/index.html b/themes/hugo-bulma-cookbook/layouts/_default/index.html index d9d8aba..0c8cdc0 100644 --- a/themes/hugo-bulma-cookbook/layouts/_default/index.html +++ b/themes/hugo-bulma-cookbook/layouts/_default/index.html @@ -1,9 +1,9 @@ - {{ partial "header.html"}} - {{ partial "header.meta.html" .}} - {{ partial "script.menu.html"}} + {{ partial "header.html" . }} + {{ partial "header.meta.html" . }} + {{ partial "script.menu.html" . }} {{ .Title }} diff --git a/themes/hugo-bulma-cookbook/layouts/_default/list.html b/themes/hugo-bulma-cookbook/layouts/_default/list.html index 7c22393..53c48dd 100644 --- a/themes/hugo-bulma-cookbook/layouts/_default/list.html +++ b/themes/hugo-bulma-cookbook/layouts/_default/list.html @@ -1,9 +1,9 @@ - {{ partial "header.html"}} + {{ partial "header.html" . }} {{ partial "header.meta.html" .}} - {{ partial "script.menu.html" }} + {{ partial "script.menu.html" . }} {{ .Title }} diff --git a/themes/hugo-bulma-cookbook/layouts/_default/single.html b/themes/hugo-bulma-cookbook/layouts/_default/single.html index 23479cf..0c72655 100644 --- a/themes/hugo-bulma-cookbook/layouts/_default/single.html +++ b/themes/hugo-bulma-cookbook/layouts/_default/single.html @@ -1,9 +1,9 @@ - {{ partial "header.html"}} + {{ partial "header.html" . }} {{ partial "header.meta.single.html" .}} - {{ partial "script.menu.html"}} + {{ partial "script.menu.html" .}} {{ .Title }} diff --git a/themes/hugo-bulma-cookbook/layouts/partials/header.meta.html b/themes/hugo-bulma-cookbook/layouts/partials/header.meta.html index 801f3bc..92b1e46 100644 --- a/themes/hugo-bulma-cookbook/layouts/partials/header.meta.html +++ b/themes/hugo-bulma-cookbook/layouts/partials/header.meta.html @@ -2,7 +2,7 @@ - +