This commit is contained in:
Nuno Coração 2024-03-10 17:36:28 +00:00
parent 2e50aae48b
commit beb23b9596
5 changed files with 5 additions and 64 deletions

2
.gitignore vendored
View file

@ -30,3 +30,5 @@ node_modules
.Spotlight-V100
.Trashes
.idea
.Ulysses-Group.plist
.Ulysses-Settings.plist

View file

@ -1,27 +0,0 @@
languageCode = "en"
languageName = "English"
weight = 1
title = "Blowfish"
[params]
displayName = "EN"
isoCode = "en"
rtl = false
dateFormat = "2 January 2006"
logo = "img/blowfish_logo_transparent.png"
# secondaryLogo = "PATH"
description = "A powerful, lightweight theme for Hugo."
# copyright = "Copy, _right?_ :thinking_face:"
[author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "A powerful, lightweight theme for Hugo."
bio = "A powerful, lightweight theme for Hugo."
links = [
{ x-twitter = "https://twitter.com/burufugu" },
#{ mastodon = "https://masto.ai/@blowfish" },
{ github = "https://github.com/nunocoracao/blowfish" },
]

View file

@ -4,14 +4,12 @@ weight = 1
title = "Blowfish"
[params]
displayName = "EN"
displayName = "English"
isoCode = "en"
rtl = false
dateFormat = "2 January 2006"
logo = "img/blowfish_logo_transparent.png"
# secondaryLogo = "PATH"
description = "A powerful, lightweight theme for Hugo."
# copyright = "Copy, _right?_ :thinking_face:"
[author]
name = "Blowfish"
@ -20,8 +18,5 @@ title = "Blowfish"
bio = "A powerful, lightweight theme for Hugo."
links = [
{ x-twitter = "https://twitter.com/burufugu" },
#{ mastodon = "https://masto.ai/@blowfish" },
{ github = "https://github.com/nunocoracao/blowfish" },
]

View file

@ -1,29 +0,0 @@
---
title: "Welcome to Blowfish! :tada:"
description: "This page was built using the Blowfish theme for Hugo."
---
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
{{< icon "triangle-exclamation" >}}
</span>
<span class="flex items-center justify-between grow dark:text-neutral-300">
<span class="prose dark:prose-invert">This is a demo of the <code id="layout">background</code> layout.</span>
<button
id="switch-layout-button"
class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
>
Switch layout &orarr;
</button>
</span>
</div>
```node
npx blowfish-tools
```
{{< youtubeLite id="SgXhGb-7QbU" label="Blowfish-tools demo" >}}

View file

@ -4,7 +4,7 @@
<span class="mr-1">
{{ partial "icon.html" "language" }}
</span>
<div href="#" class="text-base font-medium text-gray-500 hover:text-primary-600 dark:hover:text-primary-400" title="{{ .Title }}">
<div class="text-sm font-medium text-gray-500 hover:text-primary-600 dark:hover:text-primary-400" title="{{ .Title }}">
{{- i18n "global.language" | markdownify | emojify -}}
</div>
</div>