Compare commits

...

73 Commits

Author SHA1 Message Date
Nuno Coração 02da08de65 Merge pull request #764 from nunocoracao/dev
🔖 release v2.35.0
2023-06-05 22:59:10 +01:00
Nuno Coração 95145d4665 small updated to docs 2023-06-05 22:57:26 +01:00
Nuno Coração a9d8eee152 fixed small ui bug 2023-06-05 22:54:26 +01:00
Nuno Coração cdb84c8b0e updated version 2023-06-05 22:49:35 +01:00
Nuno Coração 384cba03cd Merge pull request #763 from nunocoracao/760-fix-deprecation-values
🚧 fix deprecation of parameters inside of languages files
2023-06-05 22:47:55 +01:00
Nuno Coração 9f741eb71d updated deprecated configs 2023-06-05 22:42:37 +01:00
Nuno Coração 3b2bf23b00 Merge pull request #756 from nunocoracao/755-increase-max-supported-version-of-hugo
⬆️ increase max supported version of Hugo
2023-06-05 21:37:56 +01:00
Nuno Coração 982d80dae6 updated support for Hugo latest version 2023-06-05 21:37:17 +01:00
Nuno Coração 14ceca7ca1 bump version 2023-06-04 21:43:20 +01:00
Nuno Coração 785b0f3ed6 Merge pull request #754 from nunocoracao/dev
🔖 Release v2.34.2
2023-06-04 21:40:29 +01:00
Nuno Coração 5409a07ee0 Merge pull request #753 from nunocoracao/752-add-support-for-hugo-v01127
increased max version to Hugo latest v0.112.7
2023-06-04 21:37:13 +01:00
Nuno Coração c40880a70b increased max version to Hugo latest v0.112.7 2023-06-04 21:35:23 +01:00
Nuno Coração b85caa20b0 Merge pull request #751 from nunocoracao/dependabot/npm_and_yarn/dev/headlessui/react-1.7.15
📌 Bump @headlessui/react from 1.7.14 to 1.7.15
2023-06-04 21:26:41 +01:00
dependabot[bot] fb55b339d3 📌 Bump @headlessui/react from 1.7.14 to 1.7.15
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 1.7.14 to 1.7.15.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v1.7.15/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-02 06:03:04 +00:00
Nuno Coração dcec748080 Merge pull request #750 from Sykursen/main
Add 50-nuances-octets.fr to users
2023-05-31 23:22:06 +01:00
Guillaume Assier 9952298f85 Add 50-nuances-octets.fr 2023-05-30 10:06:49 +00:00
Nuno Coração c04a56e7a2 Merge pull request #743 from nunocoracao/dev
🔖 v2.34.1
2023-05-24 22:58:01 +01:00
Nuno Coração bd603475c7 small fix 2023-05-24 22:46:46 +01:00
Nuno Coração 2b3b34fab9 fixe issue with analytics and new hugo update 2023-05-24 22:43:31 +01:00
Nuno Coração b64e7fc6d5 bump version 2023-05-24 21:55:58 +01:00
Nuno Coração ebb7e950fc Merge pull request #742 from nunocoracao/741-add-support-for-hugo-v01123
⬆️ Add support for Hugo v0.112.3
2023-05-24 21:40:48 +01:00
Nuno Coração 86c5650925 updataed version 2023-05-24 21:40:05 +01:00
Nuno Coração 9d18e3d78c updataed version 2023-05-24 21:39:52 +01:00
Nuno Coração 616ebd1cf5 Merge pull request #738 from MaikelChan/gallery-fixes
Gallery fixes.
2023-05-24 21:24:03 +01:00
Nuno Coração 4f3f908a37 Merge pull request #739 from d4rklynk/patch-fr
Update fr.yaml
2023-05-24 21:23:23 +01:00
Nuno Coração a2d5c361b4 Merge pull request #740 from tfuryan/dev
add www.halcyonstraits.com to users
2023-05-24 21:22:48 +01:00
Nuno Coração e26ede4f7a Merge branch 'dev' into dev 2023-05-24 21:22:40 +01:00
Nuno Coração 7bf971b481 Merge pull request #737 from enmanuelmoreira/main
Add blog.enmanuelmoreira.com
2023-05-24 21:21:43 +01:00
Nuno Coração b3d692bf2f Merge branch 'dev' into main 2023-05-24 21:21:36 +01:00
Nuno Coração f47c51b59e Merge pull request #729 from NikarashiHatsu/main
add (users): nikarashihatsu.github.io
2023-05-24 21:20:35 +01:00
Nuno Coração ab2b979da4 Merge branch 'dev' into main 2023-05-24 21:20:23 +01:00
tfuryan cbfe4eb570 add www.halcyonstraits.com 2023-05-24 15:01:24 -04:00
samsepi0l 6bbc2985e0 Update fr.yaml 2023-05-24 16:10:18 +02:00
MaikelChan 83eae55276 Gallery fixes.
- Fixed having multiple galleries in the same page with the same ID, which would cause the galleries after the first one not behaving correctly.
- Make sure that all images have finished loading before calling Packery, fixing some image overlapping problems.
2023-05-23 20:20:07 +02:00
Enmanuel Moreira 10b1dca2c2 Add blog.enmanuelmoreira.com
Add blog.enmanuelmoreira.com
2023-05-23 12:37:05 -04:00
Aghits Nidallah fdb4a4be14 Update index.md 2023-05-23 19:38:18 +07:00
Nuno Coração 3c0d54c41d Merge pull request #735 from nunocoracao/dev
🔖 v2.34.0
2023-05-23 12:51:03 +01:00
Nuno Coração e832e646bf updataed version 2023-05-23 12:49:20 +01:00
Nuno Coração 49bf99641e Merge pull request #734 from nunocoracao/722-getboundingclientrect-call-on-null-error-logged-on-pages-with-little-content
🐛 getBoundingClientRect() call on null error logged on pages with little content
2023-05-23 12:47:38 +01:00
Nuno Coração e015e32356 Merge pull request #733 from nunocoracao/732-add-support-for-hugo-v01120
⬆️ add support for Hugo v0.112.0
2023-05-23 12:46:34 +01:00
Nuno Coração f11c652362 fixed #722 2023-05-23 12:46:12 +01:00
Nuno Coração bb44f5b17a bumped hugo version 2023-05-23 12:35:46 +01:00
Nuno Coração bdd1c3f136 Merge pull request #726 from nunocoracao/dependabot/npm_and_yarn/dev/prettier-plugin-tailwindcss-0.3.0
📌 Bump prettier-plugin-tailwindcss from 0.2.8 to 0.3.0
2023-05-23 12:30:00 +01:00
dependabot[bot] 9bc237dc34 📌 Bump prettier-plugin-tailwindcss from 0.2.8 to 0.3.0
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.8 to 0.3.0.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.2.8...v0.3.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 11:29:13 +00:00
Nuno Coração 802d9369b8 Merge pull request #728 from nunocoracao/dependabot/npm_and_yarn/dev/rimraf-5.0.1
📌 Bump rimraf from 5.0.0 to 5.0.1
2023-05-23 12:28:20 +01:00
Nuno Coração 4685aff77c Merge pull request #725 from Weaxs/blog
👤 Added weaxsey.org
2023-05-23 12:28:07 +01:00
Nuno Coração 2d0f9852d8 Merge pull request #731 from MaikelChan/fix-multiple-galleries
Fixed having multiple galleries in the same page, only works the first one
2023-05-23 12:26:32 +01:00
MaikelChan 23ef06829a Fixed having multiple galleries in the same page, only works the first one. 2023-05-21 23:14:11 +02:00
Aghits Nidallah eaa5e500af add (users): nikarashihatsu.github.io 2023-05-19 00:01:28 +07:00
dependabot[bot] 92f704cd61 📌 Bump rimraf from 5.0.0 to 5.0.1
Bumps [rimraf](https://github.com/isaacs/rimraf) from 5.0.0 to 5.0.1.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 06:01:41 +00:00
Weaxs 9e1fc48e96 👤 Added weaxsey.org 2023-05-16 11:03:23 +08:00
Nuno Coração a387038958 Merge pull request #721 from nunocoracao/dev
🔖 release v2.33.2
2023-05-12 14:33:16 +01:00
Nuno Coração 08d28ec1c1 updated version 2023-05-12 14:26:50 +01:00
Nuno Coração 914352f71c updated nested menus docs 2023-05-12 14:24:21 +01:00
Nuno Coração 8ca246ce31 Merge pull request #689 from schachem/main
 Fix missing URL for Top-level menu entry in nested menu
2023-05-12 14:18:33 +01:00
Nuno Coração 485b08193c added config secondaryLogo comment to example site 2023-05-12 14:17:38 +01:00
Nuno Coração 50e4c2b9aa Merge pull request #683 from DanWiseProgramming/feature/add_logo_dark_light_mode_switching
[#676] Add logo dark/light mode switching mechanism
2023-05-12 14:13:14 +01:00
Nuno Coração 34ca5acc8f Merge pull request #720 from nunocoracao/690-front-matter-description-is-not-used-for-metadata-but-summary
 frontmatter uses both summary and description
2023-05-12 14:11:40 +01:00
Nuno Coração 7c2ca7969e frontmatter uses both summary and description for site's meta description 2023-05-12 14:10:41 +01:00
Nuno Coração 00704d369a Merge pull request #717 from nunocoracao/dependabot/npm_and_yarn/dev/heroicons/react-2.0.18
📌 Bump @heroicons/react from 2.0.17 to 2.0.18
2023-05-12 14:02:55 +01:00
Nuno Coração 1aa41fae0f Merge pull request #719 from nunocoracao/dependabot/npm_and_yarn/dev/jquery-3.7.0
📌 Bump jquery from 3.6.4 to 3.7.0
2023-05-12 14:02:43 +01:00
dependabot[bot] 99c5fa5a00 📌 Bump jquery from 3.6.4 to 3.7.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.4 to 3.7.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.4...3.7.0)

---
updated-dependencies:
- dependency-name: jquery
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 06:01:22 +00:00
dependabot[bot] 96529363cd 📌 Bump @heroicons/react from 2.0.17 to 2.0.18
Bumps [@heroicons/react](https://github.com/tailwindlabs/heroicons) from 2.0.17 to 2.0.18.
- [Release notes](https://github.com/tailwindlabs/heroicons/releases)
- [Changelog](https://github.com/tailwindlabs/heroicons/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/heroicons/compare/v2.0.17...v2.0.18)

---
updated-dependencies:
- dependency-name: "@heroicons/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-10 06:01:44 +00:00
Daniel Odrinski cd946b93e5 Merge branch 'dev' into feature/add_logo_dark_light_mode_switching 2023-05-09 14:12:59 +01:00
Daniel Odrinski a660482b24 ♻️ [#676] Further optimise appearance.js to reduce code duplication 2023-05-02 21:16:16 +01:00
Daniel Odrinski c6869834ea ️ [#676] Optimise appearance.js for no secondary logo 2023-05-02 20:46:56 +01:00
Daniel Odrinski 0e07a9f265 📝[#676] Update documentation for 'secondaryLogo' parameter 2023-05-02 11:04:13 +01:00
Daniel Odrinski 5c12f7597a Merge branch 'feature/add_logo_dark_light_mode_switching' of github.com:DanWiseProgramming/blowfish into feature/add_logo_dark_light_mode_switching 2023-05-02 03:17:40 +01:00
Daniel Odrinski e3869849bd [#676] Add accidentally un-committed files 2023-05-02 03:17:31 +01:00
Daniel Odrinski b8f23598c8 [#676] Add logo dark/light mode switching mechanism 2023-05-02 03:17:31 +01:00
Daniel Odrinski bf8f63b4a6 [#676] Add accidentally un-committed files 2023-05-01 21:50:54 +01:00
schachem 9e7abf32cf Fix missing URL for Top-level menu entry in nested menue 2023-04-30 14:25:25 +02:00
Daniel Odrinski 25a60fffd1 [#676] Add logo dark/light mode switching mechanism 2023-04-26 18:49:53 +01:00
476 changed files with 18386 additions and 2749 deletions
+33 -7
View File
@@ -26,16 +26,19 @@ window.addEventListener("DOMContentLoaded", (event) => {
const switcher = document.getElementById("appearance-switcher"); const switcher = document.getElementById("appearance-switcher");
const switcherMobile = document.getElementById("appearance-switcher-mobile"); const switcherMobile = document.getElementById("appearance-switcher-mobile");
updateMeta() updateMeta();
this.updateLogo?.(getTargetAppearance());
if (switcher) { if (switcher) {
switcher.addEventListener("click", () => { switcher.addEventListener("click", () => {
document.documentElement.classList.toggle("dark"); document.documentElement.classList.toggle("dark");
var targetAppearance = getTargetAppearance();
localStorage.setItem( localStorage.setItem(
"appearance", "appearance",
document.documentElement.classList.contains("dark") ? "dark" : "light" targetAppearance
); );
updateMeta() updateMeta();
this.updateLogo?.(targetAppearance);
}); });
switcher.addEventListener("contextmenu", (event) => { switcher.addEventListener("contextmenu", (event) => {
event.preventDefault(); event.preventDefault();
@@ -45,11 +48,13 @@ window.addEventListener("DOMContentLoaded", (event) => {
if (switcherMobile) { if (switcherMobile) {
switcherMobile.addEventListener("click", () => { switcherMobile.addEventListener("click", () => {
document.documentElement.classList.toggle("dark"); document.documentElement.classList.toggle("dark");
var targetAppearance = getTargetAppearance();
localStorage.setItem( localStorage.setItem(
"appearance", "appearance",
document.documentElement.classList.contains("dark") ? "dark" : "light" targetAppearance
); );
updateMeta() updateMeta();
this.updateLogo?.(targetAppearance);
}); });
switcherMobile.addEventListener("contextmenu", (event) => { switcherMobile.addEventListener("contextmenu", (event) => {
event.preventDefault(); event.preventDefault();
@@ -66,10 +71,31 @@ var updateMeta = () => {
document.querySelector('meta[name="theme-color"]').setAttribute('content', style.backgroundColor); document.querySelector('meta[name="theme-color"]').setAttribute('content', style.backgroundColor);
} }
{{ if and (.Site.Params.Logo) (.Site.Params.SecondaryLogo) }}
{{ $primaryLogo := resources.Get .Site.Params.Logo }}
{{ $secondaryLogo := resources.Get .Site.Params.SecondaryLogo }}
{{ if and ($primaryLogo) ($secondaryLogo) }}
var updateLogo = (targetAppearance) => {
var elems;
elems = document.querySelectorAll("img.logo")
targetLogoPath =
targetAppearance == "{{ .Site.Params.DefaultAppearance }}" ?
"{{ $primaryLogo.RelPermalink }}" : "{{ $secondaryLogo.RelPermalink }}"
for (const elem of elems) {
elem.setAttribute("src", targetLogoPath)
}
}
{{ end }}
{{- end }}
var getTargetAppearance = () => {
return document.documentElement.classList.contains("dark") ? "dark" : "light"
}
window.addEventListener("DOMContentLoaded", (event) => { window.addEventListener("DOMContentLoaded", (event) => {
const scroller = document.getElementById("top-scroller"); const scroller = document.getElementById("top-scroller");
const footer = document.getElementById("site-footer"); const footer = document.getElementById("site-footer");
if(scroller.getBoundingClientRect().top > footer.getBoundingClientRect().top) { if(scroller && footer && scroller.getBoundingClientRect().top > footer.getBoundingClientRect().top) {
scroller.hidden = true; scroller.hidden = true;
} }
}); });
+2 -2
View File
@@ -1,5 +1,5 @@
[module] [module]
[module.hugoVersion] [module.hugoVersion]
extended = true extended = true
min = "0.87.0 " min = "0.87.0"
max = "0.111.3" max = "0.113.0"
+9 -8
View File
@@ -1,16 +1,17 @@
languageCode = "en" languageCode = "en"
languageName = "English" languageName = "English"
displayName = "EN"
isoCode = "en"
weight = 1 weight = 1
rtl = false
title = "Blowfish" title = "Blowfish"
# logo = "img/logo.png"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:"
dateFormat = "2 January 2006" [params]
displayName = "EN"
isoCode = "en"
rtl = false
dateFormat = "2 January 2006"
# logo = "img/logo.png"
# secondaryLogo = "img/secondary-logo.png"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:"
# [author] # [author]
# name = "Your name here" # name = "Your name here"
+3 -3
View File
@@ -9,13 +9,13 @@ colorScheme = "blowfish"
defaultAppearance = "light" # valid options: light or dark defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true autoSwitchAppearance = true
enableSearch = false enableSearch = true
enableCodeCopy = false enableCodeCopy = false
# mainSections = ["section1", "section2"] # mainSections = ["section1", "section2"]
# robots = "" # robots = ""
disableImageOptimization = false disableImageOptimization = true
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images # defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles # defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
@@ -31,7 +31,7 @@ disableImageOptimization = false
showMenu = true showMenu = true
showCopyright = true showCopyright = true
showThemeAttribution = true showThemeAttribution = true
showAppearanceSwitcher = false showAppearanceSwitcher = true
showScrollToTop = true showScrollToTop = true
[homepage] [homepage]
+11 -8
View File
@@ -1,16 +1,17 @@
languageCode = "en" languageCode = "en"
languageName = "English" languageName = "English"
displayName = "EN"
isoCode = "en"
weight = 1 weight = 1
rtl = false
title = "Blowfish" title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "A powerful, lightweight theme for Hugo built with Tailwind CSS."
# copyright = "Copy, _right?_ :thinking_face:"
dateFormat = "2 January 2006" [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 built with Tailwind CSS."
# copyright = "Copy, _right?_ :thinking_face:"
[author] [author]
name = "Blowfish" name = "Blowfish"
@@ -22,3 +23,5 @@ dateFormat = "2 January 2006"
{ mastodon = "https://masto.ai/@blowfish" }, { mastodon = "https://masto.ai/@blowfish" },
{ github = "https://github.com/nunocoracao/blowfish" }, { github = "https://github.com/nunocoracao/blowfish" },
] ]
@@ -19,8 +19,6 @@
# name = "Examples" # name = "Examples"
# weight = 20 # weight = 20
[[main]] [[main]]
name = "Samples" name = "Samples"
pageRef = "samples" pageRef = "samples"
+37 -19
View File
@@ -57,7 +57,7 @@ The theme currently supports the following languages by default:
| Language | Code | | Language | Code |
| ------------------------------ | ------- | | ------------------------------ | ------- |
| 🇧🇬 Bulgarian | `bg` | | 🇧🇬 Bulgarian | `bg` |
| 🇧🇩 Bengali | `bn` | | 🇧🇩 Bengali | `bn` |
| 🇨🇿 Czech | `cs` | | 🇨🇿 Czech | `cs` |
| 🇩🇪 German | `de` | | 🇩🇪 German | `de` |
@@ -95,24 +95,43 @@ The default file can be used as a template to create additional languages, or re
**Note:** Ensure the `defaultContentLanguage` parameter in the [site configuration](#site-configuration) matches the language code in your language config filename. **Note:** Ensure the `defaultContentLanguage` parameter in the [site configuration](#site-configuration) matches the language code in your language config filename.
{{< /alert >}} {{< /alert >}}
#### Global
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->
| Name | Default | Description | | Name | Default | Description |
| ----------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `languageCode` | `"en"` | The Hugo language code for this file. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-au`) and should match the language code in the filename. Hugo expects this value to always be in lowercase. For proper HTML compliance, set the `isoCode` parameter which is case-sensitive. | | `languageCode` | `"en"` | The Hugo language code for this file. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-au`) and should match the language code in the filename. Hugo expects this value to always be in lowercase. For proper HTML compliance, set the `isoCode` parameter which is case-sensitive. |
| `languageName` | `"English"` | The name of the language. | | `languageName` | `"English"` | The name of the language. |
| `displayName` | `"EN"` | The name used when the language appears on the website. | | `weight` | `1` | The weight determines the order of languages when building multilingual sites. |
| `isoCode` | `"en"` | The ISO language code for HTML metadata purposes. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-AU`). | | `title` | `"Blowfish"` | The title of the website. This will be displayed in the site header and footer. |
| `weight` | `1` | The weight determines the order of languages when building multilingual sites. | <!-- prettier-ignore-end -->
| `rtl` | `false` | Whether or not this is a RTL language. Set to `true` to reflow content from right-to-left. Blowfish fully supports using RTL and LTR languages at the same time and will dynamically adjust to both. |
| `dateFormat` | `"2 January 2006"` | How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/format/#gos-layout-string) for acceptable formats. | #### Params
| `title` | `"Blowfish"` | The title of the website. This will be displayed in the site header and footer. |
| `description` | _Not set_ | The website description. This will be used in the site metadata. | <!-- prettier-ignore-start -->
| `copyright` | _Not set_ | A Markdown string for the site footer copyright message can include the placeholder { year } to dynamically insert the current year. If none is provided, Blowfish will automatically generate a copyright string using the site `title`. | | Name | Default | Description |
| `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. | | --------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio and placed in the site's `assets/` folder. | | `params.displayName` | `"EN"` | The name used when the language appears on the website. |
| `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. | | `params.isoCode` | `"en"` | The ISO language code for HTML metadata purposes. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-AU`). |
| `author.bio` | _Not set_ | A Markdown string containing the author's bio. It will be displayed in article footers. | | `params.rtl` | `false` | Whether or not this is a RTL language. Set to `true` to reflow content from right-to-left. Blowfish fully supports using RTL and LTR languages at the same time and will dynamically adjust to both. |
| `author.links` | _Not set_ | The links to display alongside the author's details. The config file contains example links which can simply be uncommented to enable. The order that the links are displayed is determined by the order they appear in the array. Custom links can be added by providing corresponding SVG icon assets in `assets/icons/`. | | `params.dateFormat` | `"2 January 2006"` | How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/format/#gos-layout-string) for acceptable formats. |
| `params.logo` | _Not set_ | The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. |
| `params.secondaryLogo` | _Not set_ | The relative path to the secondary site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. This should have an inverted/contrasting colour scheme to `logo`. If set, this logo will be shown when users toggle from the `defaultAppearance` mode. |
| `params.description` | _Not set_ | The website description. This will be used in the site metadata. |
| `params.copyright` | _Not set_ | A Markdown string for the site footer copyright message can include the placeholder { year } to dynamically insert the current year. If none is provided, Blowfish will automatically generate a copyright string using the site `title`. |
<!-- prettier-ignore-end -->
#### Author
| Name | Default | Description |
| ----------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
| `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio and placed in the site's `assets/` folder. |
| `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. |
| `author.bio` | _Not set_ | A Markdown string containing the author's bio. It will be displayed in article footers. |
| `author.links` | _Not set_ | The links to display alongside the author's details. The config file contains example links which can simply be uncommented to enable. The order that the links are displayed is determined by the order they appear in the array. Custom links can be added by providing corresponding SVG icon assets in `assets/icons/`. |
<!-- prettier-ignore-end --> <!-- prettier-ignore-end -->
### Menus ### Menus
@@ -140,7 +159,6 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. | | `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. |
| `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly. | | `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly. |
| `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `<code>` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. | | `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `<code>` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. |
| `logo` | _Not set_ | The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. |
| `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. | | `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. |
| `showViews` | _Not set_ | Whether or not articles and list views are displayed. This requires firebase integrations to be enabled, look below. | | `showViews` | _Not set_ | Whether or not articles and list views are displayed. This requires firebase integrations to be enabled, look below. |
| `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. | | `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. |
@@ -197,7 +197,7 @@ Both menus are completely optional and can be commented out if not required. Use
### Nested menus ### Nested menus
The theme also supports nested menus. In order to use them you just need to define a parent entry in `menu.toml` and its sub-menus using the `parent` parameter to reference the parent. All properties can be used for sub-menus. Note that `pageRef` and `url` will be ignored for the parent entry. Nested menus is only available in the main menu not for the footer. The theme also supports nested menus. In order to use them you just need to define a parent entry in `menu.toml` and its sub-menus using the `parent` parameter to reference the parent. All properties can be used for sub-menus. `pageRef` and `url` can also be used in the parent entry. Nested menus are only available in the main menu not for the footer.
```toml ```toml
# config/_default/menus.toml # config/_default/menus.toml
+5
View File
@@ -75,6 +75,11 @@ Real websites that are built with Blowfish.
| [hellstabber.github.io](https://hellstabber.github.io/) | Personal site | | [hellstabber.github.io](https://hellstabber.github.io/) | Personal site |
| [clemsau.com](https://clemsau.com/) | Personal site | | [clemsau.com](https://clemsau.com/) | Personal site |
| [lelouvincx.github.io](https://lelouvincx.github.io/) | Personal site | | [lelouvincx.github.io](https://lelouvincx.github.io/) | Personal site |
| [weaxsey.org](https://weaxsey.org/) | Personal site |
| [nikarashihatsu.github.io](https://nikarashihatsu.github.io/) | Personal site |
| [blog.enmanuelmoreira.com](https://blog.enmanuelmoreira.com) | Personal site |
| [halcyonstraits.com](https://www.halcyonstraits.com/) | Doll photography |
| [50-nuances-octets.fr](https://www.50-nuances-octets.fr/) | Organization site |
{{< alert >}} {{< alert >}}
+3 -3
View File
@@ -18,7 +18,7 @@ article:
part_of_series: "Cet article fait partie d'une série." part_of_series: "Cet article fait partie d'une série."
part: "Partie" part: "Partie"
this_article: "Cet article" this_article: "Cet article"
related_articles: "Related" related_articles: "Articles connexes"
author: author:
byline_title: "Auteur" byline_title: "Auteur"
@@ -30,7 +30,7 @@ code:
error: error:
404_title: "Cette page n'existe pas :confused:" 404_title: "Cette page n'existe pas :confused:"
404_error: "Erreur 404" 404_error: "Erreur 404"
404_description: "Il semble que la page que vous cherchiez n'existe pas." 404_description: "Il semble que la page que vous cherchez n'existe pas."
footer: footer:
dark_appearance: "Passer au thème sombre" dark_appearance: "Passer au thème sombre"
@@ -62,4 +62,4 @@ shortcode:
recent_articles: "Articles récents" recent_articles: "Articles récents"
recent: recent:
show_more: "Montre Plus" show_more: "Voir plus"
-1
View File
@@ -1,4 +1,3 @@
{{- partial "partials/functions/warnings.html" .Site -}}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ with .Site.Params.isoCode | default (.Site.LanguageCode | default " en") }} {{- . -}} {{ end }}" dir="{{ if .Site.Params.rtl | default false -}} <html lang="{{ with .Site.Params.isoCode | default (.Site.LanguageCode | default " en") }} {{- . -}} {{ end }}" dir="{{ if .Site.Params.rtl | default false -}}
rtl rtl
+8 -9
View File
@@ -1,10 +1,9 @@
{{ if hugo.IsProduction }} {{ with site.Params.fathomAnalytics.site }}
{{ with .Site.Params.fathomAnalytics.site }} {{ if isset $.Site.Params.fathomanalytics "domain" }}
{{ if isset $.Site.Params.fathomanalytics "domain" }} <script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script> {{ else }}
{{ else }} <script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
{{ end }}
{{ end }}
{{ template "_internal/google_analytics.html" . }}
{{ end }} {{ end }}
{{ end }}
{{/* template "_internal/google_analytics.html" . */}}
{{ partial "ga-analytics.html" }}
-6
View File
@@ -1,6 +0,0 @@
{{ if ne .Site.Params.showAppearanceSwitcher nil }}
{{ warnf "[BLOWFISH] Theme parameter `showAppearanceSwitcher` has been renamed to `footer.showAppearanceSwitcher`. Please update your site configuration." }}
{{ end }}
{{ if ne .Site.Params.showScrollToTop nil }}
{{ warnf "[BLOWFISH] Theme parameter `showScrollToTop` has been renamed to `footer.showScrollToTop`. Please update your site configuration." }}
{{ end }}
+10
View File
@@ -0,0 +1,10 @@
{{ if site.Config.Services.GoogleAnalytics.ID }}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.Config.Services.GoogleAnalytics.ID }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.Config.Services.GoogleAnalytics.ID }}');
</script>
{{ end }}
+3 -3
View File
@@ -14,7 +14,7 @@
<meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" /> <meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />
{{- end }} {{- end }}
{{/* Metadata */}} {{/* Metadata */}}
{{ with .Params.Summary | default .Site.Params.description -}} {{ with (.Params.Summary | default .Params.Description) | default .Site.Params.description -}}
<meta name="description" content="{{ . }}" /> <meta name="description" content="{{ . }}" />
{{- end }} {{- end }}
{{ with .Params.Tags | default .Site.Params.keywords -}} {{ with .Params.Tags | default .Site.Params.keywords -}}
@@ -50,7 +50,7 @@
<link type="text/css" rel="stylesheet" href="{{ $bundleCSS.RelPermalink }}" <link type="text/css" rel="stylesheet" href="{{ $bundleCSS.RelPermalink }}"
integrity="{{ $bundleCSS.Data.Integrity }}" /> integrity="{{ $bundleCSS.Data.Integrity }}" />
{{ $jsAppearance := resources.Get "js/appearance.js" }} {{ $jsAppearance := resources.Get "js/appearance.js" }}
{{ $jsAppearance = $jsAppearance | resources.Minify | resources.Fingerprint "sha512" }} {{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate $jsAppearance.RelPermalink . | resources.Minify | resources.Fingerprint "sha512" }}
<script type="text/javascript" src="{{ $jsAppearance.RelPermalink }}" <script type="text/javascript" src="{{ $jsAppearance.RelPermalink }}"
integrity="{{ $jsAppearance.Data.Integrity }}"></script> integrity="{{ $jsAppearance.Data.Integrity }}"></script>
{{ if .Site.Params.enableSearch | default false }} {{ if .Site.Params.enableSearch | default false }}
@@ -113,7 +113,7 @@
{{/* Vendor */}} {{/* Vendor */}}
{{ partial "vendor.html" . }} {{ partial "vendor.html" . }}
{{/* Analytics */}} {{/* Analytics */}}
{{ partialCached "analytics.html" .Site }} {{ partial "analytics.html" .Site }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}} {{/* Extend head - eg. for custom analytics scripts, etc. */}}
{{ if templates.Exists "partials/extend-head.html" }} {{ if templates.Exists "partials/extend-head.html" }}
{{ partialCached "extend-head.html" .Site }} {{ partialCached "extend-head.html" .Site }}
+3 -3
View File
@@ -8,7 +8,7 @@
<span class="sr-only">{{ .Site.Title | markdownify | emojify }}</span> <span class="sr-only">{{ .Site.Title | markdownify | emojify }}</span>
<img src="{{ $logo.RelPermalink }}" width="{{ div $logo.Width 2 }}" height="{{ div $logo.Height 2 }}" <img src="{{ $logo.RelPermalink }}" width="{{ div $logo.Width 2 }}" height="{{ div $logo.Height 2 }}"
class="max-h-[5rem] max-w-[5rem] object-scale-down object-left nozoom" alt="{{ .Site.Title }}" /> class="logo max-h-[5rem] max-w-[5rem] object-scale-down object-left nozoom" alt="{{ .Site.Title }}" />
</a> </a>
</div> </div>
@@ -23,7 +23,7 @@
</nav> </nav>
<nav class="hidden md:flex items-center space-x-5 md:ml-12"> <nav class="hidden md:flex items-center space-x-5 md:ml-12 h-12">
{{ if .Site.Menus.main }} {{ if .Site.Menus.main }}
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
@@ -34,7 +34,7 @@
{{ partial "translations.html" . }} {{ partial "translations.html" . }}
{{ if .Site.Params.enableSearch | default false }} {{ if .Site.Params.enableSearch | default false }}
<button id="search-button" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400" <button id="search-button" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400 h-12"
title="{{ i18n " search.open_button_title" }}"> title="{{ i18n " search.open_button_title" }}">
{{ partial "icon.html" "search" }} {{ partial "icon.html" "search" }}
</button> </button>
@@ -5,7 +5,8 @@
{{ partial "icon.html" .Pre }} {{ partial "icon.html" .Pre }}
</span> </span>
{{ end }} {{ end }}
<a class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}"> <a {{ if .URL }} href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:" ) }}
target="_blank" {{ end }} {{ end }} class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
{{ .Name | markdownify | emojify }} {{ .Name | markdownify | emojify }}
</a> </a>
<span> <span>
@@ -31,4 +32,4 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
+2 -3
View File
@@ -1,12 +1,11 @@
{{ $time := now.UnixNano }} {{ $id := delimit (slice "gallery" .Ordinal) "-" }}
{{ $id := delimit (slice "gallery" $time) "-" }}
<div id="{{ $id }}"> <div id="{{ $id }}">
{{ .Inner }} {{ .Inner }}
</div> </div>
<script> <script>
$(document).ready(function () { $(window).on("load", function () {
$('#{{ $id }}').packery({ $('#{{ $id }}').packery({
percentPosition: true, percentPosition: true,
gutter: 5, gutter: 5,
+735 -75
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -1,6 +1,6 @@
{ {
"name": "hugo-blowfish-theme", "name": "hugo-blowfish-theme",
"version": "2.33.1", "version": "2.35.0",
"description": "Blowfish theme for Hugo", "description": "Blowfish theme for Hugo",
"scripts": { "scripts": {
"fullinstall": "npm run preinstall && npm install && npm run postinstall", "fullinstall": "npm run preinstall && npm install && npm run postinstall",
@@ -37,13 +37,13 @@
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.9",
"chart.js": "^4.3.0", "chart.js": "^4.3.0",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
"jquery": "^3.6.4", "jquery": "^3.7.0",
"katex": "^0.16.7", "katex": "^0.16.7",
"packery": "^2.1.2", "packery": "^2.1.2",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13", "prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.2.8", "prettier-plugin-tailwindcss": "^0.3.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.1",
"tailwindcss": "^3.3.2", "tailwindcss": "^3.3.2",
"tw-elements": "1.0.0-beta2", "tw-elements": "1.0.0-beta2",
"typeit": "^8.7.1", "typeit": "^8.7.1",
@@ -93,8 +93,8 @@
} }
], ],
"dependencies": { "dependencies": {
"@headlessui/react": "^1.7.14", "@headlessui/react": "^1.7.15",
"@heroicons/react": "^2.0.17", "@heroicons/react": "^2.0.18",
"@tailwindcss/forms": "^0.5.3", "@tailwindcss/forms": "^0.5.3",
"commander": "^10.0.1" "commander": "^10.0.1"
} }
+16 -371
View File
File diff suppressed because one or more lines are too long
+25 -423
View File
File diff suppressed because one or more lines are too long
+1 -10
View File
@@ -1,10 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Authors Taxonomy Listing Example on Blowfish</title><link>https://nunocoracao.github.io/blowfish/authors/</link><description>Recent content in Authors Taxonomy Listing Example on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 12 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://nunocoracao.github.io/blowfish/authors/index.xml" rel="self" type="application/rss+xml"/><item><title>Dummy Second Author</title><link>https://nunocoracao.github.io/blowfish/authors/secondauthor/</link><pubDate>Wed, 12 Oct 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/authors/secondauthor/</guid><description>Dummy Second Author&amp;rsquo;s awesome dummy bio.</description></item><item><title>Nuno Coração</title><link>https://nunocoracao.github.io/blowfish/authors/nunocoracao/</link><pubDate>Wed, 12 Oct 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/authors/nunocoracao/</guid><description>Nuno&amp;rsquo;s awesome dummy bio.</description></item></channel></rss>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Authors on Blowfish</title>
<link>/authors/</link>
<description>Recent content in Authors on Blowfish</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language><atom:link href="/authors/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nuno Coração on Blowfish</title><link>https://nunocoracao.github.io/blowfish/authors/nunocoracao/</link><description>Recent content in Nuno Coração on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 12 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://nunocoracao.github.io/blowfish/authors/nunocoracao/index.xml" rel="self" type="application/rss+xml"/><item><title>Multiple Authors</title><link>https://nunocoracao.github.io/blowfish/samples/multiple-authors/</link><pubDate>Wed, 12 Oct 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/multiple-authors/</guid><description>A quick example of how multiple authors could be used.</description></item><item><title>Multiple Authors</title><link>https://nunocoracao.github.io/blowfish/docs/multi-author/</link><pubDate>Mon, 10 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/multi-author/</guid><description>Some websites have more than one author contributing with content and therefore require more than a single default author across the entire website. For those use-cases, Blowfish allows users to extend the list of authors using the multiple authors feature.</description></item></channel></rss>
@@ -0,0 +1 @@
<!doctype html><html lang=en><head><title>https://nunocoracao.github.io/blowfish/authors/nunocoracao/</title><link rel=canonical href=https://nunocoracao.github.io/blowfish/authors/nunocoracao/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://nunocoracao.github.io/blowfish/authors/nunocoracao/"></head></html>
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dummy Second Author on Blowfish</title><link>https://nunocoracao.github.io/blowfish/authors/secondauthor/</link><description>Recent content in Dummy Second Author on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 12 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://nunocoracao.github.io/blowfish/authors/secondauthor/index.xml" rel="self" type="application/rss+xml"/><item><title>Multiple Authors</title><link>https://nunocoracao.github.io/blowfish/samples/multiple-authors/</link><pubDate>Wed, 12 Oct 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/multiple-authors/</guid><description>A quick example of how multiple authors could be used.</description></item></channel></rss>
@@ -0,0 +1 @@
<!doctype html><html lang=en><head><title>https://nunocoracao.github.io/blowfish/authors/secondauthor/</title><link rel=canonical href=https://nunocoracao.github.io/blowfish/authors/secondauthor/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://nunocoracao.github.io/blowfish/authors/secondauthor/"></head></html>
@@ -0,0 +1 @@
const sitePreference=document.documentElement.getAttribute("data-default-appearance"),userPreference=localStorage.getItem("appearance");(sitePreference==="dark"&&userPreference===null||userPreference==="dark")&&document.documentElement.classList.add("dark"),document.documentElement.getAttribute("data-auto-appearance")==="true"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&userPreference!=="light"&&document.documentElement.classList.add("dark"),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{e.matches?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")})),window.addEventListener("DOMContentLoaded",e=>{const t=document.getElementById("appearance-switcher"),n=document.getElementById("appearance-switcher-mobile");updateMeta(),this.updateLogo?.(getTargetAppearance()),t&&(t.addEventListener("click",()=>{document.documentElement.classList.toggle("dark");var e=getTargetAppearance();localStorage.setItem("appearance",e),updateMeta(),this.updateLogo?.(e)}),t.addEventListener("contextmenu",e=>{e.preventDefault(),localStorage.removeItem("appearance")})),n&&(n.addEventListener("click",()=>{document.documentElement.classList.toggle("dark");var e=getTargetAppearance();localStorage.setItem("appearance",e),updateMeta(),this.updateLogo?.(e)}),n.addEventListener("contextmenu",e=>{e.preventDefault(),localStorage.removeItem("appearance")}))});var updateMeta=()=>{var e=document.querySelector("body"),t=getComputedStyle(e);document.querySelector('meta[name="theme-color"]').setAttribute("content",t.backgroundColor)},getTargetAppearance=()=>document.documentElement.classList.contains("dark")?"dark":"light";window.addEventListener("DOMContentLoaded",e=>{const t=document.getElementById("top-scroller"),n=document.getElementById("site-footer");t&&n&&t.getBoundingClientRect().top>n.getBoundingClientRect().top&&(t.hidden=!0)})
File diff suppressed because one or more lines are too long
+1 -10
View File
@@ -1,10 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on Blowfish</title><link>https://nunocoracao.github.io/blowfish/categories/</link><description>Recent content in Categories on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://nunocoracao.github.io/blowfish/categories/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Blowfish</title>
<link>/categories/</link>
<description>Recent content in Categories on Blowfish</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language><atom:link href="/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 636 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 634 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 586 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 671 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 633 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

File diff suppressed because one or more lines are too long
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Documentation on Blowfish</title><link>https://nunocoracao.github.io/blowfish/docs/</link><description>Recent content in Documentation on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 19 Jan 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://nunocoracao.github.io/blowfish/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>Welcome to Blowfish</title><link>https://nunocoracao.github.io/blowfish/docs/welcome/</link><pubDate>Wed, 19 Jan 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/welcome/</guid><description>Blowfish is packed with tons of features. The original aim of Blowfish was to develop a theme that was simple and lightweight. The theme is a fork of Congo and expands its initial vision.</description></item><item><title>Installation</title><link>https://nunocoracao.github.io/blowfish/docs/installation/</link><pubDate>Sun, 16 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/installation/</guid><description>Simply follow the standard Hugo Quick Start procedure to get up and running quickly.
Detailed installation instructions can be found below. Instructions for updating the theme are also available.
Installation # These instructions will get you up and running using Hugo and Blowfish from a completely blank state.</description></item><item><title>Getting Started</title><link>https://nunocoracao.github.io/blowfish/docs/getting-started/</link><pubDate>Sat, 15 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/getting-started/</guid><description>This section assumes you have already installed the Blowfish theme. The config files that ship with Blowfish contain all of the possible settings that the theme recognises. By default, many of these are commented out but you can simply uncomment them to activate or change a specific feature.</description></item><item><title>Configuration</title><link>https://nunocoracao.github.io/blowfish/docs/configuration/</link><pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/configuration/</guid><description>Blowfish is a highly customisable theme and uses some of the latest Hugo features to simplify how it is configured.
The theme ships with a default configuration that gets you up and running with a basic blog or static website.</description></item><item><title>Homepage Layout</title><link>https://nunocoracao.github.io/blowfish/docs/homepage-layout/</link><pubDate>Thu, 13 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/homepage-layout/</guid><description>Blowfish provides a fully flexible homepage layout. There are two main templates to choose from with additional settings to adjust the design. Alternatively, you can also provide your own template and have complete control over the homepage content.</description></item><item><title>Front Matter</title><link>https://nunocoracao.github.io/blowfish/docs/front-matter/</link><pubDate>Wed, 12 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/front-matter/</guid><description>In addition to the default Hugo front matter parameters, Blowfish adds a number of additional options to customise the presentation of individual articles. All the available theme front matter parameters are listed below.</description></item><item><title>Thumbnails</title><link>https://nunocoracao.github.io/blowfish/docs/thumbnails/</link><pubDate>Wed, 12 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/thumbnails/</guid><description>Thumbnails # Blowfish was enhanced in order to make it easy to add visual support to your posts. To do so, you just need to place an image file (almost all formats are supported bue we recommend .</description></item><item><title>Shortcodes</title><link>https://nunocoracao.github.io/blowfish/docs/shortcodes/</link><pubDate>Tue, 11 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/shortcodes/</guid><description>In addition to all the default Hugo shortcodes, Blowfish adds a few extras for additional functionality.
Alert # alert outputs its contents as a stylised message box within your article. It&amp;rsquo;s useful for drawing attention to important information that you don&amp;rsquo;t want the reader to miss.</description></item><item><title>Multiple Authors</title><link>https://nunocoracao.github.io/blowfish/docs/multi-author/</link><pubDate>Mon, 10 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/multi-author/</guid><description>Some websites have more than one author contributing with content and therefore require more than a single default author across the entire website. For those use-cases, Blowfish allows users to extend the list of authors using the multiple authors feature.</description></item><item><title>Partials</title><link>https://nunocoracao.github.io/blowfish/docs/partials/</link><pubDate>Mon, 10 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/partials/</guid><description>Analytics # Blowfish provides built-in support for Fathom Analytics and Google Analytics. Fathom is a paid alternative to Google Analytics that respects user privacy.
Fathom Analytics # To enable Fathom Analytics support, simply provide your Fathom site code in the config/_default/params.</description></item><item><title>Content Examples</title><link>https://nunocoracao.github.io/blowfish/docs/content-examples/</link><pubDate>Sun, 09 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/content-examples/</guid><description>If you&amp;rsquo;ve been reading the documentation in order, you should now know about all the features and configurations available in Blowfish. This page is designed to pull everything together and offer some worked examples that you might like to use in your Hugo project.</description></item><item><title>Series</title><link>https://nunocoracao.github.io/blowfish/docs/series/</link><pubDate>Sun, 09 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/series/</guid><description>Blowfish provides a feature to group a set of articles together under a &amp;ldquo;series&amp;rdquo;. Placing an article under a series will display the rest of the series articles in each single page and provide a quick way to navigate amongst them.</description></item><item><title>Advanced Customisation</title><link>https://nunocoracao.github.io/blowfish/docs/advanced-customisation/</link><pubDate>Sat, 08 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/advanced-customisation/</guid><description>There are many ways you can make advanced changes to Blowfish. Read below to learn more about what can be customised and the best way of achieving your desired result.</description></item><item><title>Hosting &amp; Deployment</title><link>https://nunocoracao.github.io/blowfish/docs/hosting-deployment/</link><pubDate>Fri, 07 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/hosting-deployment/</guid><description>There are many ways to deploy your Hugo website built with Blowfish. The theme is designed to be flexible in almost any deployment scenario.
Blowfish is built using relative URLs throughout the theme.</description></item><item><title>Firebase: Views &amp; Likes</title><link>https://nunocoracao.github.io/blowfish/docs/firebase-views/</link><pubDate>Mon, 03 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/firebase-views/</guid><description>In order to be able to support dynamic data across your website we&amp;rsquo;ve added the support to integrate Firebase. This will allow you to use the views feature across lists and posts.</description></item></channel></rss>
Binary file not shown.

After

Width:  |  Height:  |  Size: 620 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 KiB

File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
<!doctype html><html lang=en><head><title>https://nunocoracao.github.io/blowfish/docs/</title><link rel=canonical href=https://nunocoracao.github.io/blowfish/docs/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://nunocoracao.github.io/blowfish/docs/"></head></html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 659 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Some files were not shown because too many files have changed in this diff Show More