added support for cover images in lists
|
@ -1425,6 +1425,10 @@ select {
|
|||
top: 5rem;
|
||||
}
|
||||
|
||||
.z-\[500\] {
|
||||
z-index: 500;
|
||||
}
|
||||
|
||||
.z-50 {
|
||||
z-index: 50;
|
||||
}
|
||||
|
|
|
@ -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 --
|
||||
|
|
|
@ -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.
|
||||
|
||||
---
|
||||
|
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
BIN
exampleSite/content/docs/cover.jpg
Normal file
After Width: | Height: | Size: 4.8 MiB |
19
exampleSite/content/examples/_index.md
Executable file
|
@ -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.
|
||||
|
||||
---
|
8
exampleSite/content/examples/blowfish-template-repo/_index.md
Executable file
|
@ -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.
|
BIN
exampleSite/content/examples/blowfish-template-repo/cover.png
Normal file
After Width: | Height: | Size: 50 KiB |
8
exampleSite/content/examples/blowfish-template/_index.md
Executable file
|
@ -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.
|
BIN
exampleSite/content/examples/blowfish-template/cover.png
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
exampleSite/content/examples/cover.jpg
Normal file
After Width: | Height: | Size: 4.8 MiB |
BIN
exampleSite/content/samples/cover.jpg
Normal file
After Width: | Height: | Size: 4.8 MiB |
BIN
exampleSite/content/users/cover.jpg
Normal file
After Width: | Height: | Size: 4.8 MiB |
After Width: | Height: | Size: 373 KiB |
After Width: | Height: | Size: 373 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 373 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 373 KiB |
After Width: | Height: | Size: 373 KiB |
After Width: | Height: | Size: 373 KiB |
After Width: | Height: | Size: 85 KiB |
|
@ -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 "<ul") }} <header>
|
||||
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div
|
||||
id="search-wrapper"
|
||||
class="invisible fixed inset-0 z-50 flex h-screen w-screen cursor-default flex-col bg-neutral-500/50 p-4 backdrop-blur-sm dark:bg-neutral-900/50 sm:p-6 md:p-[10vh] lg:p-[12vh]"
|
||||
class="invisible z-[500] fixed inset-0 z-50 flex h-screen w-screen cursor-default flex-col bg-neutral-500/50 p-4 backdrop-blur-sm dark:bg-neutral-900/50 sm:p-6 md:p-[10vh] lg:p-[12vh]"
|
||||
data-url="{{ "" | absLangURL }}"
|
||||
>
|
||||
<div
|
||||
|
|