diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 6a5cfb8f..71027536 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1425,6 +1425,10 @@ select { top: 5rem; } +.z-\[500\] { + z-index: 500; +} + .z-50 { z-index: 50; } diff --git a/exampleSite/config/_default/menus.en.toml b/exampleSite/config/_default/menus.en.toml index cd5ffa91..18d4bc52 100644 --- a/exampleSite/config/_default/menus.en.toml +++ b/exampleSite/config/_default/menus.en.toml @@ -20,22 +20,27 @@ pageRef = "samples" weight = 20 +[[main]] + name = "Showcase" + pageRef = "examples" + weight = 30 + [[main]] name = "Users" pageRef = "users" - weight = 30 + weight = 40 [[main]] identifier = "github" pre = "github" url = "https://github.com/nunocoracao/blowfish" - weight = 40 + weight = 50 [[main]] identifier = "twitter" pre = "twitter" url = "https://twitter.com/burufugu" - weight = 50 + weight = 60 # -- Footer Menu -- diff --git a/exampleSite/content/docs/_index.md b/exampleSite/content/docs/_index.md index 0a25eacb..26cdfff9 100755 --- a/exampleSite/content/docs/_index.md +++ b/exampleSite/content/docs/_index.md @@ -12,8 +12,6 @@ cascade: Simple, yet powerful. Learn how to use Blowfish and its features. {{< /lead >}} -![Featured Blowfish image](featured.png) - This section contains everything you need to know about Blowfish. If you're new, check out the [Installation]({{< ref "docs/installation" >}}) guide to begin or visit the [Samples]({{< ref "samples" >}}) section to see what Blowfish can do. --- diff --git a/exampleSite/content/docs/featured.png b/exampleSite/content/docs/blowfish.png similarity index 100% rename from exampleSite/content/docs/featured.png rename to exampleSite/content/docs/blowfish.png diff --git a/exampleSite/content/docs/cover.jpg b/exampleSite/content/docs/cover.jpg new file mode 100644 index 00000000..6352a781 Binary files /dev/null and b/exampleSite/content/docs/cover.jpg differ diff --git a/exampleSite/content/examples/_index.md b/exampleSite/content/examples/_index.md new file mode 100755 index 00000000..050965d9 --- /dev/null +++ b/exampleSite/content/examples/_index.md @@ -0,0 +1,19 @@ +--- +title: "Showcase" +description: "See what's possible with Blowfish." + +cascade: + showEdit: false + showReadingTime: false + showSummary: true + showLikes: false + showViews: false +--- + +{{< lead >}} +See what's possible with Blowfish. +{{< /lead >}} + +This section contains links to example templates and pages created using Blowfish to get you inspired. + +--- diff --git a/exampleSite/content/examples/blowfish-template-repo/_index.md b/exampleSite/content/examples/blowfish-template-repo/_index.md new file mode 100755 index 00000000..30379b31 --- /dev/null +++ b/exampleSite/content/examples/blowfish-template-repo/_index.md @@ -0,0 +1,8 @@ +--- +title: "Blowfish Template - GitHub Repo" +date: 2022-11-06 +externalUrl: "https://github.com/nunocoracao/blowfish_template" +summary: "A simple template project to get you started. Blowfish theme already installed with a simple github pages action configured." +--- + +A simple template project to get you started. Blowfish theme already installed with a simple github pages action configured. diff --git a/exampleSite/content/examples/blowfish-template-repo/cover.png b/exampleSite/content/examples/blowfish-template-repo/cover.png new file mode 100644 index 00000000..e86997b9 Binary files /dev/null and b/exampleSite/content/examples/blowfish-template-repo/cover.png differ diff --git a/exampleSite/content/examples/blowfish-template/_index.md b/exampleSite/content/examples/blowfish-template/_index.md new file mode 100755 index 00000000..7e4e3a6b --- /dev/null +++ b/exampleSite/content/examples/blowfish-template/_index.md @@ -0,0 +1,8 @@ +--- +title: "Blowfish Template" +date: 2022-11-06 +externalUrl: "https://nunocoracao.github.io/blowfish_template/" +summary: "A simple template project to get you started. Blowfish theme already installed with a simple github pages action configured." +--- + +A simple template project to get you started. Blowfish theme already installed with a simple github pages action configured. diff --git a/exampleSite/content/examples/blowfish-template/cover.png b/exampleSite/content/examples/blowfish-template/cover.png new file mode 100644 index 00000000..e86997b9 Binary files /dev/null and b/exampleSite/content/examples/blowfish-template/cover.png differ diff --git a/exampleSite/content/examples/cover.jpg b/exampleSite/content/examples/cover.jpg new file mode 100644 index 00000000..6352a781 Binary files /dev/null and b/exampleSite/content/examples/cover.jpg differ diff --git a/exampleSite/content/samples/cover.jpg b/exampleSite/content/samples/cover.jpg new file mode 100644 index 00000000..6352a781 Binary files /dev/null and b/exampleSite/content/samples/cover.jpg differ diff --git a/exampleSite/content/users.md b/exampleSite/content/users/_index.md similarity index 100% rename from exampleSite/content/users.md rename to exampleSite/content/users/_index.md diff --git a/exampleSite/content/users/cover.jpg b/exampleSite/content/users/cover.jpg new file mode 100644 index 00000000..6352a781 Binary files /dev/null and b/exampleSite/content/users/cover.jpg differ diff --git a/exampleSite/resources/_gen/images/docs/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/docs/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg new file mode 100644 index 00000000..e2dcb141 Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg differ diff --git a/exampleSite/resources/_gen/images/docs/feature_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/docs/feature_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg new file mode 100644 index 00000000..e2dcb141 Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/feature_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg differ diff --git a/exampleSite/resources/_gen/images/docs/featured_hud8adc593272aed8f1224d3593fe9b187_99792_1200x0_resize_box_3.png b/exampleSite/resources/_gen/images/docs/featured_hud8adc593272aed8f1224d3593fe9b187_99792_1200x0_resize_box_3.png new file mode 100644 index 00000000..9c882c76 Binary files /dev/null and b/exampleSite/resources/_gen/images/docs/featured_hud8adc593272aed8f1224d3593fe9b187_99792_1200x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/example/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/example/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg new file mode 100644 index 00000000..e2dcb141 Binary files /dev/null and b/exampleSite/resources/_gen/images/example/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template copy/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template copy/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png new file mode 100644 index 00000000..2380ecb9 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template copy/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template copy/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template copy/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png new file mode 100644 index 00000000..54de70a8 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template copy/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png new file mode 100644 index 00000000..2380ecb9 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png new file mode 100644 index 00000000..54de70a8 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hud8adc593272aed8f1224d3593fe9b187_99792_1200x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hud8adc593272aed8f1224d3593fe9b187_99792_1200x0_resize_box_3.png new file mode 100644 index 00000000..9c882c76 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hud8adc593272aed8f1224d3593fe9b187_99792_1200x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hud8adc593272aed8f1224d3593fe9b187_99792_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hud8adc593272aed8f1224d3593fe9b187_99792_600x0_resize_box_3.png new file mode 100644 index 00000000..14bd2f52 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template-repo/cover_hud8adc593272aed8f1224d3593fe9b187_99792_600x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png new file mode 100644 index 00000000..2380ecb9 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_1200x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/blowfish-template/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png b/exampleSite/resources/_gen/images/examples/blowfish-template/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png new file mode 100644 index 00000000..54de70a8 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/blowfish-template/cover_hu4592ac3fe4dd4ca45e75cc0313416524_51117_600x0_resize_box_3.png differ diff --git a/exampleSite/resources/_gen/images/examples/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/examples/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg new file mode 100644 index 00000000..e2dcb141 Binary files /dev/null and b/exampleSite/resources/_gen/images/examples/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg differ diff --git a/exampleSite/resources/_gen/images/samples/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/samples/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg new file mode 100644 index 00000000..e2dcb141 Binary files /dev/null and b/exampleSite/resources/_gen/images/samples/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg differ diff --git a/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg new file mode 100644 index 00000000..e2dcb141 Binary files /dev/null and b/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_1200x0_resize_q75_box.jpg differ diff --git a/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_600x0_resize_q75_box.jpg b/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_600x0_resize_q75_box.jpg new file mode 100644 index 00000000..6e0a8786 Binary files /dev/null and b/exampleSite/resources/_gen/images/users/cover_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_600x0_resize_q75_box.jpg differ diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ab916162..e9d4cc2d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,4 +1,14 @@ {{ define "main" }} + +{{ if .Params.showHero | default (.Site.Params.article.showHero | default false) }} +{{ $heroStyle := print "partials/hero/" .Site.Params.article.heroStyle ".html" }} +{{ if templates.Exists $heroStyle }} +{{ partial $heroStyle . }} +{{ else }} +{{ partial "partials/hero/basic.html" . }} +{{ end }} +{{- end -}} + {{ $toc := and (.Params.showTableOfContents | default (.Site.Params.list.showTableOfContents | default false)) (in .TableOfContents " {{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }} diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 34c25255..8924349c 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -1,6 +1,6 @@