From 05692386e34cb03b40fe1aa48b138641467719fe Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 9 Oct 2022 12:54:50 -0700 Subject: [PATCH] updated the theme to start having beta features, pictures work, and favicon should work --- .../layouts/_default/list.html | 59 ++----------------- .../layouts/_default/single.html | 4 +- .../layouts/partials/header.html | 6 +- .../layouts/partials/hero.html | 14 ++++- .../layouts/partials/list.card.html | 22 +++++++ .../layouts/partials/list.cards.html | 30 ++++++++++ .../layouts/partials/list.rows.html | 49 +++++++++++++++ 7 files changed, 122 insertions(+), 62 deletions(-) create mode 100644 themes/hugo-bulma-cookbook/layouts/partials/list.card.html create mode 100644 themes/hugo-bulma-cookbook/layouts/partials/list.cards.html create mode 100644 themes/hugo-bulma-cookbook/layouts/partials/list.rows.html diff --git a/themes/hugo-bulma-cookbook/layouts/_default/list.html b/themes/hugo-bulma-cookbook/layouts/_default/list.html index e40a75f..d9563d0 100644 --- a/themes/hugo-bulma-cookbook/layouts/_default/list.html +++ b/themes/hugo-bulma-cookbook/layouts/_default/list.html @@ -1,59 +1,12 @@ {{ partial "header.html" . }} {{ partial "hero.html" . }} -
-
- - {{ range .RegularPages }} +{{ if $.Site.Params.UseListRows }} +{{ partial "list.rows.html" . }} +{{ end }} -
-
-
- - - - - -
-

- {{ .Title }} -

-

{{ .Params.subtitle }}

- - {{ with .Params.tags }} -
- {{ range . }} - - {{ end }} -
- {{ end }} - - - {{ with .Params.categories }} -
- {{ range . }} - - {{ end }} -
- {{ end }} -
-
-
-
- {{ end }} - -
+{{ if $.Site.Params.UseCardView }} +{{ partial "list.cards.html" . }} +{{ end }} {{ partial "footer.html" . }} \ No newline at end of file diff --git a/themes/hugo-bulma-cookbook/layouts/_default/single.html b/themes/hugo-bulma-cookbook/layouts/_default/single.html index fa77727..779e07f 100644 --- a/themes/hugo-bulma-cookbook/layouts/_default/single.html +++ b/themes/hugo-bulma-cookbook/layouts/_default/single.html @@ -6,11 +6,9 @@
- {{ if .Params.thumbnail }}
- + Missing thumbnail :(
- {{ end }}
diff --git a/themes/hugo-bulma-cookbook/layouts/partials/header.html b/themes/hugo-bulma-cookbook/layouts/partials/header.html index 605a2a3..c98d51f 100644 --- a/themes/hugo-bulma-cookbook/layouts/partials/header.html +++ b/themes/hugo-bulma-cookbook/layouts/partials/header.html @@ -6,9 +6,9 @@ - - - + + +