Compare commits

..

65 Commits

Author SHA1 Message Date
Nuno Coração
869da321a6 Merge pull request #822 from nunocoracao/dev
🔖 v2.37.0
2023-07-14 10:33:33 +01:00
Nuno Coração
02258281cf bump version 2023-07-14 10:31:20 +01:00
Nuno Coração
134d9c1179 Merge pull request #821 from nunocoracao/820-toc-moves-out-of-the-screen-because-of-related-articles
🎨 TOC moves out of the screen because of related articles
2023-07-14 10:28:53 +01:00
Nuno Coração
ada2b2c99b 🎨 TOC moves out of the screen because of related articles 2023-07-14 10:28:26 +01:00
Nuno Coração
7a40cfdb11 Merge pull request #819 from nunocoracao/807-add-support-for-hugo-v01152
⚙️ Add support for Hugo v0.115.3
2023-07-14 10:12:05 +01:00
Nuno Coração
afd4334cf8 ⚙️ Add support for Hugo v0.115.3 2023-07-14 10:11:38 +01:00
Nuno Coração
78108c70de Merge pull request #818 from nunocoracao/775-safari-sucks-out-nav-menu
🐛 Fix menu wrapper for Safari
2023-07-14 10:09:00 +01:00
Nuno Coração
6f06d8550a 🐛 Fix menu wrapper for Safari 2023-07-14 10:08:11 +01:00
Nuno Coração
83a2471949 Merge pull request #814 from MaikelChan/toc-position
🎨 Fix that prevents the TOC from being covered by the main menu.
2023-07-14 10:02:59 +01:00
Nuno Coração
ba8045651a Merge pull request #811 from MaikelChan/rss-copyright
Fix for wrong Copyright in RSS feeds
2023-07-14 09:59:52 +01:00
Nuno Coração
93f70df482 Merge pull request #805 from fuse314/translation-de
🎏 fix German translation of related_articles
2023-07-14 09:58:53 +01:00
Nuno Coração
43cc1c7c82 Merge pull request #815 from MaikelChan/update-spanish
Update to the Spanish translation
2023-07-14 09:58:18 +01:00
Nuno Coração
d9530c1dda Merge pull request #803 from Sean12697/patch-1
👤 Added seanomahoney.com as a User
2023-07-14 09:57:29 +01:00
Nuno Coração
4798c98291 Merge branch 'dev' into patch-1 2023-07-14 09:57:18 +01:00
Nuno Coração
5330bdc0bf Merge pull request #812 from MaikelChan/personal-site
👤 Add my personal site
2023-07-14 09:56:43 +01:00
Nuno Coração
154fa8caca Merge pull request #808 from nunocoracao/dependabot/npm_and_yarn/dev/prettier-plugin-tailwindcss-0.4.0
📌 Bump prettier-plugin-tailwindcss from 0.3.0 to 0.4.0
2023-07-14 09:54:42 +01:00
Nuno Coração
9c9cbef243 Merge pull request #816 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/forms-0.5.4
📌 Bump @tailwindcss/forms from 0.5.3 to 0.5.4
2023-07-14 09:54:12 +01:00
Nuno Coração
a0dc9825dc Merge pull request #817 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss-3.3.3
📌 Bump tailwindcss from 3.3.2 to 3.3.3
2023-07-14 09:53:59 +01:00
dependabot[bot]
b51d2dd68e 💄 Rebuild CSS 2023-07-14 05:16:19 +00:00
dependabot[bot]
517c9d0ff2 💄 Rebuild CSS 2023-07-14 05:16:01 +00:00
dependabot[bot]
db3cefaacb 📌 Bump tailwindcss from 3.3.2 to 3.3.3
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.3.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.2...v3.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 05:15:47 +00:00
dependabot[bot]
eae354183e 📌 Bump @tailwindcss/forms from 0.5.3 to 0.5.4
Bumps [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-forms/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-forms/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-forms/compare/v0.5.3...v0.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 05:15:31 +00:00
MaikelChan
38f7e449bb Forgot an untranslated word. 2023-07-14 06:00:34 +02:00
MaikelChan
a6e9a885ec Update to the Spanish translation: Added missing texts and some corrections. 2023-07-14 05:39:27 +02:00
MaikelChan
eda728ba1d Output HTML is better formatted. 2023-07-14 05:04:41 +02:00
MaikelChan
7a7fa2bf24 Applied same fix to the TOC when shown in a list page. 2023-07-14 04:33:53 +02:00
MaikelChan
85867e3f14 Found the actual issue. 2023-07-14 04:11:24 +02:00
MaikelChan
18c163c563 Fix that prevents the toc from being covered by the main menu. 2023-07-14 03:50:45 +02:00
MaikelChan
8aa33cfdd8 Add my personal site 2023-07-13 04:11:14 +02:00
MaikelChan
61dbc60f03 Fixed wrong Copyright in RSS feeds. 2023-07-13 01:47:38 +02:00
dependabot[bot]
53bc9b922b 📌 Bump prettier-plugin-tailwindcss from 0.3.0 to 0.4.0
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.3.0 to 0.4.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.3.0...v0.4.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-07-12 05:08:26 +00:00
Gottfried Mayer
8dcddb1d88 fix: German translation of related_articles 2023-07-08 23:21:33 +02:00
Sean O'Mahoney
9ccbeb696e Added seanomahoney.com as a User 2023-07-06 20:58:36 +01:00
Nuno Coração
eceda27458 updated version 2023-07-05 22:18:45 +01:00
Nuno Coração
d55ec148dc Merge pull request #801 from nunocoracao/dev
🔖 v2.36.1
2023-07-05 22:17:57 +01:00
Nuno Coração
97d0326417 Merge pull request #799 from nunocoracao/798-support-for-hugo-v01151
⚙️ Support for Hugo v0.115.1
2023-07-05 22:05:34 +01:00
Nuno Coração
4f1209b158 ⚙️ Support for Hugo v0.115.1 2023-07-05 22:05:05 +01:00
Nuno Coração
02c96872ba Merge pull request #791 from nunocoracao/dev
🔖 v2.36.0
2023-06-29 22:21:50 +01:00
Nuno Coração
6a4f0101c8 bump version 2023-06-29 22:21:32 +01:00
Nuno Coração
b643e6f05b Merge pull request #790 from nunocoracao/771-author-on-top-of-articles
🎨 author on top of articles
2023-06-29 22:16:20 +01:00
Nuno Coração
7c6663c348 updated authors to be displayed on top of an article 2023-06-29 22:15:39 +01:00
Nuno Coração
9d8d050cd6 Merge pull request #779 from voigt/fix-fathom-regression
🐛 fix regression in fathom analytics
2023-06-29 21:43:27 +01:00
Nuno Coração
3eafcd94ce Merge pull request #773 from michaeldorner/main
⚙️ Remove and ignore .DS_Store files
2023-06-29 21:42:38 +01:00
Nuno Coração
b32b2d0a07 Merge pull request #787 from MaruPandaBear/patch-1
Update index.md
2023-06-29 21:41:11 +01:00
Nuno Coração
496a45fb89 Merge pull request #785 from nunocoracao/dependabot/npm_and_yarn/dev/katex-0.16.8
📌 Bump katex from 0.16.7 to 0.16.8
2023-06-29 21:40:16 +01:00
Nuno Coração
9be10d53aa Merge pull request #782 from dky/patch-1
✍🏼 Typos + grammar tweaks
2023-06-29 21:40:03 +01:00
Nuno Coração
257f2d4928 Merge pull request #789 from nunocoracao/788-module-blowfish-is-not-compatible-with-this-hugo-version
⬆️ updated theme to support version 0.115.0 of Hugo
2023-06-29 21:37:23 +01:00
Nuno Coração
f57c38018e updated theme to support version 0.115.0 of Hugo 2023-06-29 21:36:26 +01:00
MaruPandaBear
06b5f02635 Update index.md
Added personal comics site made in Blowfish to users list.
2023-06-27 10:24:44 -05:00
dependabot[bot]
3336416867 📦 Update packaged KaTeX 2023-06-26 06:03:43 +00:00
dependabot[bot]
bb779204d1 📌 Bump katex from 0.16.7 to 0.16.8
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.7...v0.16.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 06:02:55 +00:00
dky
4693a07499 Update index.md
Some typos + grammar tweaks
2023-06-18 11:57:00 -04:00
Nuno Coração
de90e84c6b Merge pull request #781 from nunocoracao/dependabot/npm_and_yarn/dev/commander-11.0.0
📌 Bump commander from 10.0.1 to 11.0.0
2023-06-18 14:01:07 +01:00
dependabot[bot]
93290bbb1f 📌 Bump commander from 10.0.1 to 11.0.0
Bumps [commander](https://github.com/tj/commander.js) from 10.0.1 to 11.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v10.0.1...v11.0.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 06:01:11 +00:00
Christoph Voigt
2fd531cfdf fix regression in fathom analytics 2023-06-15 14:30:27 +02:00
Michael Dorner
d4f121f28f Add macOS generated files to gitignore 2023-06-10 16:21:53 +02:00
Michael Dorner
4d29012edb Remove all .DS_Store files 2023-06-10 16:20:01 +02:00
Nuno Coração
aa03e677db Merge pull request #770 from nunocoracao/dev
🔖 release v2.35.1
2023-06-06 21:56:42 +01:00
Nuno Coração
6f08a1dba6 increase the version 2023-06-06 21:56:05 +01:00
Nuno Coração
06d2675436 Merge pull request #769 from nunocoracao/745-new-icons-graduation-cap-scale-balanced-etc
 New icons: graduation-cap, scale-balanced
2023-06-06 21:55:28 +01:00
Nuno Coração
4f12aa3578 add new icons 2023-06-06 21:54:00 +01:00
Nuno Coração
fbc8d1e364 Merge pull request #768 from nunocoracao/766---fix-analytics-partial
🐛 Fix and refactor analytics
2023-06-06 21:44:29 +01:00
Nuno Coração
c49443d765 fixed analytics 2023-06-06 21:42:12 +01:00
Nuno Coração
4ec5848594 Merge pull request #767 from voigt/766_-_fix_fathom_analytics_config
766 - fix analytics partial to make fathom analytics configurable
2023-06-06 21:25:36 +01:00
Christoph Voigt
74a09bab49 766 - fix analytics partial to make fathom analytics configurable 2023-06-06 10:31:44 +02:00
32 changed files with 178 additions and 147 deletions

9
.gitignore vendored
View File

@@ -16,6 +16,11 @@
#others
node_modules
.DS_Store
**/.DS_Store
.hugo_build.lock
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes

BIN
assets/css/.DS_Store vendored

Binary file not shown.

View File

@@ -1609,6 +1609,10 @@ select {
margin-bottom: 0.625rem;
}
.mb-20 {
margin-bottom: 5rem;
}
.mb-3 {
margin-bottom: 0.75rem;
}

View File

@@ -0,0 +1,2 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">
<path fill="currentColor" d="M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z"/></svg>

After

Width:  |  Height:  |  Size: 857 B

View File

@@ -0,0 +1,2 @@
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 640 512">
<path fill="currentColor" d="M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"/></svg>

After

Width:  |  Height:  |  Size: 840 B

BIN
assets/img/.DS_Store vendored

Binary file not shown.

BIN
assets/js/.DS_Store vendored

Binary file not shown.

BIN
assets/lib/.DS_Store vendored

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
max = "0.113.0"
max = "0.115.3"

View File

@@ -38,7 +38,7 @@ smartTOCHideUnfocusedChildren = true
layout = "custom" # valid options: page, profile, hero, card, background, custom
# homepageImage = "/img/iceland.jpg" # used in: hero, and card
showRecent = false
showRecentItems = 6
showRecentItems = 12
showMoreLink = true
showMoreLinkDest = "docs"
cardView = false
@@ -113,7 +113,6 @@ smartTOCHideUnfocusedChildren = true
cardView = true
cardViewScreenWidth = false
[firebase]
apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY"
authDomain = "blowfish-21fff.firebaseapp.com"

Binary file not shown.

Binary file not shown.

View File

@@ -11,7 +11,7 @@ series_order: 6
## 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 `.png` or `.jpg`) that starts with `feature*` inside your article main directory as shown in the example below.
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 but we recommend `.png` or `.jpg`) that starts with `feature*` inside your article's main directory, as shown in the example below.
```shell
content
@@ -22,7 +22,7 @@ content
This will tell Blowfish that this article has a feature image that can be used both as a thumbnail across your website as well as for <a target="_blank" href="https://oembed.com/">oEmbed</a> cards across social platforms.
## Folder Strucutre
## Folder Structure
If you are using single `.md` files for your articles and have a file structure similar to this:
@@ -38,8 +38,8 @@ content
└── awesome_article
└── featured.png
```
The you just need to add an image like explain earlier. If you want to see a sample of this you can consult [this sample]({{< ref "thumbnail_sample" >}}).
Then you just need to add an image like explained earlier. If you want to see a sample of this, you can consult [this sample]({{< ref "thumbnail_sample" >}}).
## Hero Images
Thumbnails will be used by default as hero images withing each article. Use the global `article.showHero` or the front-matter parameter `showHero` to control this feature across the entire site or for each specific post. If you want to override the style of the hero image you can create a file called `hero.html` in `./layouts/partials/` that will override the original partial from the theme.
Thumbnails will be used by default as hero images within each article. Use the global `article.showHero` or the front-matter parameter `showHero` to control this feature across the entire site or for each specific post. If you want to override the style of the hero image, you can create a file called `hero.html` in `./layouts/partials/` that will override the original partial from the theme.

View File

@@ -49,6 +49,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| globe | {{< icon globe >}} |
| goodreads | {{< icon goodreads >}} |
| google | {{< icon google >}} |
| graduation-cap | {{< icon graduation-cap >}} |
| hackernews | {{< icon hackernews >}} |
| hashnode | {{< icon hashnode >}} |
| heart-empty | {{< icon heart-empty >}} |
@@ -83,6 +84,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| researchgate | {{< icon researchgate >}} |
| rss | {{< icon rss >}} |
| rss-square | {{< icon rss-square >}} |
| scale-balanced | {{< icon scale-balanced >}} |
| search | {{< icon search >}} |
| shield | {{< icon shield >}} |
| skull-crossbones | {{< icon skull-crossbones >}} |

View File

@@ -6,7 +6,7 @@ description: "Some real-life Blowfish examples."
slug: "users"
tags: ["users", "sample"]
showDate: false
showAuthor: true
showAuthor: false
showReadingTime: false
showEdit: false
layoutBackgroundHeaderSpace: false
@@ -80,6 +80,9 @@ Real websites that are built with Blowfish.
| [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 |
| [marupanda.art/marucomics](https://marupanda.art/marucomics/) | Comics site |
| [seanomahoney.com](https://seanomahoney.com/) | Personal site |
| [pacochan.net](https://pacochan.net) | Personal site |
{{< alert >}}

View File

@@ -18,7 +18,7 @@ article:
part_of_series: "Dieser Artikel ist Teil einer Serie."
part: "Teil"
this_article: "Dieser Artikel"
related_articles: "Related"
related_articles: "Verwandte Artikel"
author:
byline_title: "Autor"
@@ -63,4 +63,4 @@ shortcode:
recent:
show_more: "Zeige Mehr"
show_more: "Zeige Mehr"

View File

@@ -15,10 +15,16 @@ article:
word_count:
one: "{{ .Count }} palabra"
other: "{{ .Count }} palabras"
views:
one: "{{ .Count }} visualización"
other: "{{ .Count }} visualizaciones"
likes:
one: "{{ .Count }} me gusta"
other: "{{ .Count }} me gusta"
part_of_series: "Este artículo es parte de una serie."
part: "Parte"
this_article: "Este artículo"
related_articles: "Related"
related_articles: "Relacionados"
author:
byline_title: "Autor"
@@ -38,7 +44,7 @@ footer:
powered_by: "Desarrollada con {{ .Hugo }} &amp; {{ .Theme }}"
list:
externalurl_title: "Link a página externa"
externalurl_title: "Enlace a página externa"
no_articles: "Aún no hay artículos para listar aquí."
nav:
@@ -62,4 +68,4 @@ shortcode:
recent_articles: "Reciente"
recent:
show_more: "Mostrar Más"
show_more: "Mostrar más"

View File

@@ -34,7 +34,8 @@
{{- end }} prose flex max-w-full flex-col dark:prose-invert lg:flex-row">
{{ if $toc }}
<div class="order-first px-0 lg:order-last lg:max-w-xs ltr:lg:pl-8 rtl:lg:pr-8">
<div class="toc ltr:pl-5 rtl:pr-5 lg:sticky lg:top-10">
<div class="toc ltr:pl-5 rtl:pr-5 lg:sticky {{ if hasPrefix .Site.Params.header.layout "fixed" -}}
lg:top-[140px]{{ else }}lg:top-10{{ end }}">
{{ partial "toc.html" . }}
</div>
</div>

View File

@@ -16,12 +16,14 @@
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<generator>Hugo -- gohugo.io</generator>
<language>{{ site.Language.LanguageCode }}</language>{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}
{{ if .Site.Params.footer.showCopyright | default true -}}
<copyright>{{ with replace .Site.Params.copyright "{ year }" now.Year }}{{.}}{{ else }}© {{ now.Format "2006" }} {{ .Site.Author.name }}{{- end }}</copyright>
{{- end }}
{{ if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}}

View File

@@ -23,24 +23,67 @@
<div class="mt-1 mb-6 text-base text-neutral-500 dark:text-neutral-400 print:hidden">
{{ partial "article-meta/basic.html" (dict "context" . "scope" "single") }}
</div>
{{ $authorsData := .Site.Data.authors }}
{{ $taxonomies := .Site.Taxonomies.authors }}
{{ $baseURL := .Site.BaseURL }}
{{ $taxonomyLink := 0 }}
{{ $showAuthor := 0 }}
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
{{ $showAuthor = 1 }}
{{ partial "author.html" . }}
{{ end }}
{{ if not (strings.HasSuffix $baseURL "/") }}
{{ $baseURL = delimit (slice $baseURL "/") "" }}
{{ end }}
{{ range $author := .Page.Params.authors }}
{{ $authorData := index $authorsData $author }}
{{- if $authorData -}}
{{ range $taxonomyname, $taxonomy := $taxonomies }}
{{ if (eq $taxonomyname $author) }}
{{ $taxonomyLink = delimit (slice $baseURL "/authors/" $author) "" }}
{{ end }}
{{ end }}
{{ partial "author-extra.html" (dict "context" . "data" $authorData "link" $taxonomyLink) }}
{{- end -}}
{{ end }}
{{ if or $taxonomyLink $showAuthor }}
<div class="mb-5"></div>
{{ end }}
</header>
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">
{{ if or (and (.Params.showTableOfContents | default (.Site.Params.article.showTableOfContents | default false)) (in
.TableOfContents "<ul")) (.Site.Params.article.showRelatedPosts | default false) }} <div
class="order-first sm:max-w-prose lg:ml-auto px-0 lg:order-last lg:max-w-xs ltr:lg:pl-8 rtl:lg:pr-8">
<div class="toc ltr:pl-5 rtl:pr-5 print:hidden lg:sticky {{ if eq .Site.Params.header.layout " fixed" }}
lg:top-[140px] {{ else }} lg:top-10 {{ end }}">
<div class="toc ltr:pl-5 rtl:pr-5 print:hidden lg:sticky {{ if hasPrefix .Site.Params.header.layout "fixed" -}}
lg:top-[140px]{{ else }}lg:top-10{{ end }}">
{{ if and (.Params.showTableOfContents | default (.Site.Params.article.showTableOfContents | default false)) (in
.TableOfContents "<ul") }} {{ partial "toc.html" . }} {{ end }} {{ if .Site.Params.article.showRelatedPosts |
default false }} sd {{ end }} </div>
</div>
{{ end }}
<div class="min-w-0 min-h-0 max-w-prose">
<div class="min-w-0 min-h-0 max-w-fit">
{{ partial "series.html" . }}
{{ .Content | emojify }}
</br></br>
<div class="max-w-prose mb-20">
{{ .Content | emojify }}
</div>
{{ partial "series-closed.html" . }}
{{ partial "sharing-links.html" . }}
{{ partial "related.html" . }}
</div>
<script>
@@ -54,35 +97,6 @@
</section>
<footer class="pt-8 max-w-prose print:hidden">
{{ partial "author.html" . }}
{{ $authorsData := .Site.Data.authors }}
{{ $taxonomies := .Site.Taxonomies.authors }}
{{ $baseURL := .Site.BaseURL }}
{{ if not (strings.HasSuffix $baseURL "/") }}
{{ $baseURL = delimit (slice $baseURL "/") "" }}
{{ end }}
{{ range $author := .Page.Params.authors }}
{{ $authorData := index $authorsData $author }}
{{- if $authorData -}}
{{ $taxonomyLink := 0 }}
{{ range $taxonomyname, $taxonomy := $taxonomies }}
{{ if (eq $taxonomyname $author) }}
{{ $taxonomyLink = delimit (slice $baseURL "/authors/" $author) "" }}
{{ end }}
{{ end }}
{{ partial "author-extra.html" (dict "context" . "data" $authorData "link" $taxonomyLink) }}
{{- end -}}
{{ end }}
{{ partial "sharing-links.html" . }}
{{ partial "related.html" . }}
{{ partial "article-pagination.html" . }}
{{ if .Params.showComments | default (.Site.Params.article.showComments | default false) }}
{{ if templates.Exists "partials/comments.html" }}

Binary file not shown.

View File

@@ -1,9 +0,0 @@
{{ with site.Params.fathomAnalytics.site }}
{{ if isset $.Site.Params.fathomanalytics "domain" }}
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
{{ else }}
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
{{ end }}
{{ end }}
{{/* template "_internal/google_analytics.html" . */}}
{{ partial "ga-analytics.html" }}

View File

@@ -0,0 +1,5 @@
{{ if isset site.Params.fathomAnalytics "domain" }}
<script defer src="https://{{ site.Params.fathomAnalytics.domain }}/script.js" data-site="{{ site.Params.fathomAnalytics.site }}"></script>
{{ else }}
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ site.Params.fathomAnalytics.site }}"></script>
{{ end }}

View File

@@ -1,4 +1,3 @@
{{ 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 || [];
@@ -6,5 +5,4 @@
gtag('js', new Date());
gtag('config', '{{ site.Config.Services.GoogleAnalytics.ID }}');
</script>
{{ end }}
</script>

View File

@@ -0,0 +1,6 @@
{{ with site.Params.fathomAnalytics.site }}
{{ partial "analytics/fathom.html" }}
{{ end }}
{{ with site.Config.Services.GoogleAnalytics.ID }}
{{ partial "analytics/ga.html" }}
{{ end }}

View File

@@ -1,31 +1,24 @@
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
<div class="flex">
{{ with .Site.Author.image }}
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ $authorImage := $authorImage.Fill "192x192" }}
<img
class="!mt-0 !mb-0 h-24 w-24 rounded-full ltr:mr-4 rtl:ml-4"
width="96"
height="96"
alt="{{ $.Site.Author.name | default "Author" }}"
src="{{ $authorImage.RelPermalink }}"
/>
{{ end }}
{{ end }}
<div class="place-self-center">
{{ with .Site.Author.name | markdownify | emojify }}
<div class="text-[0.6rem] uppercase leading-3 text-neutral-500 dark:text-neutral-400">
{{ i18n "author.byline_title" | markdownify | emojify }}
</div>
<div class="font-semibold leading-6 text-neutral-800 dark:text-neutral-300">
{{ . }}
</div>
{{ end }}
{{ with .Site.Author.bio | markdownify | emojify }}
<div class="text-sm text-neutral-700 dark:text-neutral-400">{{ . }}</div>
{{ end }}
<div class="text-2xl sm:text-lg">{{ partialCached "author-links.html" . }}</div>
<div class="flex">
{{ with .Site.Author.image }}
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ $authorImage := $authorImage.Fill "192x192" }}
<img class="!mt-0 !mb-0 h-24 w-24 rounded-full ltr:mr-4 rtl:ml-4" width="96" height="96"
alt="{{ $.Site.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" />
{{ end }}
{{ end }}
<div class="place-self-center">
{{ with .Site.Author.name | markdownify | emojify }}
<div class="text-[0.6rem] uppercase leading-3 text-neutral-500 dark:text-neutral-400">
{{ i18n "author.byline_title" | markdownify | emojify }}
</div>
<div class="font-semibold leading-6 text-neutral-800 dark:text-neutral-300">
{{ . }}
</div>
{{ end }}
{{ with .Site.Author.bio | markdownify | emojify }}
<div class="text-sm text-neutral-700 dark:text-neutral-400">{{ . }}</div>
{{ end }}
<div class="text-2xl sm:text-lg">{{ partialCached "author-links.html" . }}</div>
</div>
{{ end }}
</div>

View File

@@ -113,7 +113,7 @@
{{/* Vendor */}}
{{ partial "vendor.html" . }}
{{/* Analytics */}}
{{ partial "analytics.html" .Site }}
{{ partial "analytics/main.html" .Site }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}}
{{ if templates.Exists "partials/extend-head.html" }}
{{ partialCached "extend-head.html" .Site }}

View File

@@ -92,7 +92,7 @@
{{ partial "icon.html" "bars" }}
</div>
<div id="menu-wrapper" style="padding-top:5px;"
class="fixed inset-0 z-30 invisible w-screen h-screen m-auto overflow-auto transition-opacity opacity-0 cursor-default bg-neutral-100/50 backdrop-blur-sm dark:bg-neutral-900/50">
class="fixed inset-0 z-30 invisible w-screen h-screen m-0 overflow-auto transition-opacity opacity-0 cursor-default bg-neutral-100/50 backdrop-blur-sm dark:bg-neutral-900/50">
<ul
class="flex space-y-2 mt-3 flex-col items-end w-full px-6 py-6 mx-auto overflow-visible list-none ltr:text-right rtl:text-left max-w-7xl">

80
package-lock.json generated
View File

@@ -1,32 +1,32 @@
{
"name": "hugo-blowfish-theme",
"version": "2.34.1",
"version": "2.36.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
"version": "2.34.1",
"version": "2.36.1",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@headlessui/react": "^1.7.15",
"@heroicons/react": "^2.0.18",
"@tailwindcss/forms": "^0.5.3",
"commander": "^10.0.1"
"@tailwindcss/forms": "^0.5.4",
"commander": "^11.0.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
"chart.js": "^4.3.0",
"fuse.js": "^6.6.2",
"jquery": "^3.7.0",
"katex": "^0.16.7",
"katex": "^0.16.8",
"packery": "^2.1.2",
"prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.3.0",
"prettier-plugin-tailwindcss": "^0.4.0",
"rimraf": "^5.0.1",
"tailwindcss": "^3.3.2",
"tailwindcss": "^3.3.3",
"tw-elements": "1.0.0-beta2",
"typeit": "^8.7.1",
"vendor-copy": "^3.0.1"
@@ -190,9 +190,9 @@
}
},
"node_modules/@tailwindcss/forms": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.3.tgz",
"integrity": "sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q==",
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.4.tgz",
"integrity": "sha512-YAm12D3R7/9Mh4jFbYSMnsd6jG++8KxogWgqs7hbdo/86aWjjlIEvL7+QYdVELmAI0InXTpZqFIg5e7aDVWI2Q==",
"dependencies": {
"mini-svg-data-uri": "^1.2.3"
},
@@ -384,11 +384,11 @@
"dev": true
},
"node_modules/commander": {
"version": "10.0.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz",
"integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==",
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz",
"integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==",
"engines": {
"node": ">=14"
"node": ">=16"
}
},
"node_modules/concat-map": {
@@ -748,9 +748,9 @@
"peer": true
},
"node_modules/katex": {
"version": "0.16.7",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.7.tgz",
"integrity": "sha512-Xk9C6oGKRwJTfqfIbtr0Kes9OSv6IFsuhFGc7tW4urlpMJtuh+7YhzU6YEG9n8gmWKcMAFzkp7nr+r69kV0zrA==",
"version": "0.16.8",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.8.tgz",
"integrity": "sha512-ftuDnJbcbOckGY11OO+zg3OofESlbR5DRl2cmN8HeWeeFIV7wTXvAOx8kEjZjobhA+9wh2fbKeO6cdcA9Mnovg==",
"dev": true,
"funding": [
"https://opencollective.com/katex",
@@ -1200,9 +1200,9 @@
}
},
"node_modules/prettier-plugin-tailwindcss": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.3.0.tgz",
"integrity": "sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA==",
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.4.0.tgz",
"integrity": "sha512-Rna0sDPETA0KNhMHlN8wxKNgfSa8mTl2hPPAGxnbv6tUcHT6J4RQmQ8TLXyhB7Dm5Von4iHloBxTyClYM6wT0A==",
"dev": true,
"engines": {
"node": ">=12.17.0"
@@ -1213,7 +1213,7 @@
"@shopify/prettier-plugin-liquid": "*",
"@shufo/prettier-plugin-blade": "*",
"@trivago/prettier-plugin-sort-imports": "*",
"prettier": ">=2.2.0",
"prettier": "^2.2 || ^3.0",
"prettier-plugin-astro": "*",
"prettier-plugin-css-order": "*",
"prettier-plugin-import-sort": "*",
@@ -1639,9 +1639,9 @@
}
},
"node_modules/tailwindcss": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz",
"integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==",
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz",
"integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==",
"dependencies": {
"@alloc/quick-lru": "^5.2.0",
"arg": "^5.0.2",
@@ -1663,7 +1663,6 @@
"postcss-load-config": "^4.0.1",
"postcss-nested": "^6.0.1",
"postcss-selector-parser": "^6.0.11",
"postcss-value-parser": "^4.2.0",
"resolve": "^1.22.2",
"sucrase": "^3.32.0"
},
@@ -2143,9 +2142,9 @@
"dev": true
},
"@tailwindcss/forms": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.3.tgz",
"integrity": "sha512-y5mb86JUoiUgBjY/o6FJSFZSEttfb3Q5gllE4xoKjAAD+vBrnIhE4dViwUuow3va8mpH4s9jyUbUbrRGoRdc2Q==",
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.4.tgz",
"integrity": "sha512-YAm12D3R7/9Mh4jFbYSMnsd6jG++8KxogWgqs7hbdo/86aWjjlIEvL7+QYdVELmAI0InXTpZqFIg5e7aDVWI2Q==",
"requires": {
"mini-svg-data-uri": "^1.2.3"
}
@@ -2287,9 +2286,9 @@
"dev": true
},
"commander": {
"version": "10.0.1",
"resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz",
"integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug=="
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz",
"integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ=="
},
"concat-map": {
"version": "0.0.1",
@@ -2569,9 +2568,9 @@
"peer": true
},
"katex": {
"version": "0.16.7",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.7.tgz",
"integrity": "sha512-Xk9C6oGKRwJTfqfIbtr0Kes9OSv6IFsuhFGc7tW4urlpMJtuh+7YhzU6YEG9n8gmWKcMAFzkp7nr+r69kV0zrA==",
"version": "0.16.8",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.8.tgz",
"integrity": "sha512-ftuDnJbcbOckGY11OO+zg3OofESlbR5DRl2cmN8HeWeeFIV7wTXvAOx8kEjZjobhA+9wh2fbKeO6cdcA9Mnovg==",
"dev": true,
"requires": {
"commander": "^8.3.0"
@@ -2858,9 +2857,9 @@
}
},
"prettier-plugin-tailwindcss": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.3.0.tgz",
"integrity": "sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA==",
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.4.0.tgz",
"integrity": "sha512-Rna0sDPETA0KNhMHlN8wxKNgfSa8mTl2hPPAGxnbv6tUcHT6J4RQmQ8TLXyhB7Dm5Von4iHloBxTyClYM6wT0A==",
"dev": true,
"requires": {}
},
@@ -3105,9 +3104,9 @@
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="
},
"tailwindcss": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz",
"integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==",
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz",
"integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==",
"requires": {
"@alloc/quick-lru": "^5.2.0",
"arg": "^5.0.2",
@@ -3129,7 +3128,6 @@
"postcss-load-config": "^4.0.1",
"postcss-nested": "^6.0.1",
"postcss-selector-parser": "^6.0.11",
"postcss-value-parser": "^4.2.0",
"resolve": "^1.22.2",
"sucrase": "^3.32.0"
},

View File

@@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
"version": "2.35.0",
"version": "2.37.0",
"description": "Blowfish theme for Hugo",
"scripts": {
"fullinstall": "npm run preinstall && npm install && npm run postinstall",
@@ -38,13 +38,13 @@
"chart.js": "^4.3.0",
"fuse.js": "^6.6.2",
"jquery": "^3.7.0",
"katex": "^0.16.7",
"katex": "^0.16.8",
"packery": "^2.1.2",
"prettier": "^2.8.8",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.3.0",
"prettier-plugin-tailwindcss": "^0.4.0",
"rimraf": "^5.0.1",
"tailwindcss": "^3.3.2",
"tailwindcss": "^3.3.3",
"tw-elements": "1.0.0-beta2",
"typeit": "^8.7.1",
"vendor-copy": "^3.0.1"
@@ -95,7 +95,7 @@
"dependencies": {
"@headlessui/react": "^1.7.15",
"@heroicons/react": "^2.0.18",
"@tailwindcss/forms": "^0.5.3",
"commander": "^10.0.1"
"@tailwindcss/forms": "^0.5.4",
"commander": "^11.0.0"
}
}