From a6e3b4899c1d69709b7dc9d0a76dd126d4e1ff8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sun, 26 May 2024 22:11:43 +0100 Subject: [PATCH 1/7] v2.69.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2edef8f00..090ace20d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-blowfish-theme", - "version": "2.68.0", + "version": "2.69.0", "description": "Blowfish theme for Hugo", "scripts": { "postinstall": "vendor-copy", From 6e2243ffcfdfff9201937d9ffa732d38048964c2 Mon Sep 17 00:00:00 2001 From: racehd Date: Tue, 28 May 2024 08:59:03 -0400 Subject: [PATCH 2/7] Fix typo in partials/index.md --- exampleSite/content/docs/partials/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/content/docs/partials/index.md b/exampleSite/content/docs/partials/index.md index 43fe8d9f9..716044be4 100644 --- a/exampleSite/content/docs/partials/index.md +++ b/exampleSite/content/docs/partials/index.md @@ -11,7 +11,7 @@ series_order: 9 ## Analytics -Blowfish provides built-in support for Fathom Analytics, Google Analytics annd Umami Analytics. Fathom is a paid alternative to Google Analytics that respects user privacy. +Blowfish provides built-in support for Fathom Analytics, Google Analytics and Umami Analytics. Fathom is a paid alternative to Google Analytics that respects user privacy. ### Fathom Analytics From 3cb7bf2549a27f82c9ad583bac2026471fe044af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 05:59:08 +0000 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=93=8C=20Bump=20puppeteer=20from=2022?= =?UTF-8?q?.9.0=20to=2022.10.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.9.0 to 22.10.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json) - [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.9.0...puppeteer-v22.10.0) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 26 +++++++++++++------------- package.json | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2dbc3a09b..0f0c85f63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hugo-blowfish-theme", - "version": "2.68.0", + "version": "2.69.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hugo-blowfish-theme", - "version": "2.68.0", + "version": "2.69.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -28,7 +28,7 @@ "prettier": "^3.2.5", "prettier-plugin-go-template": "^0.0.15", "prettier-plugin-tailwindcss": "^0.5.14", - "puppeteer": "^22.9.0", + "puppeteer": "^22.10.0", "rimraf": "^5.0.7", "tailwindcss": "^3.4.3", "tw-elements": "2.0.0", @@ -650,9 +650,9 @@ "optional": true }, "node_modules/bare-path": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.2.tgz", - "integrity": "sha512-o7KSt4prEphWUHa3QUwCxUI00R86VdjiuxmJK0iNVDHYPGo+HsDaVCnqCmPbf/MiW1ok8F4p3m8RTHlWk8K2ig==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz", + "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==", "dev": true, "optional": true, "dependencies": { @@ -3469,16 +3469,16 @@ } }, "node_modules/puppeteer": { - "version": "22.9.0", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.9.0.tgz", - "integrity": "sha512-yNux2cm6Sfik4lNLNjJ25Cdn9spJRbMXxl1YZtVZCEhEeej1sFlCvZ/Cr64LhgyJOuvz3iq2uk+RLFpQpGwrjw==", + "version": "22.10.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.10.0.tgz", + "integrity": "sha512-ZOkZd6a6t0BdKcWb0wAYHWQqCfdlN1PPnXOmg/XNrbo6gJhYWFX4qCNb6ahSn8TpAqBqLCoD4Q010F7GwOM7mA==", "dev": true, "hasInstallScript": true, "dependencies": { "@puppeteer/browsers": "2.2.3", "cosmiconfig": "9.0.0", "devtools-protocol": "0.0.1286932", - "puppeteer-core": "22.9.0" + "puppeteer-core": "22.10.0" }, "bin": { "puppeteer": "lib/esm/puppeteer/node/cli.js" @@ -3488,9 +3488,9 @@ } }, "node_modules/puppeteer-core": { - "version": "22.9.0", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.9.0.tgz", - "integrity": "sha512-Q2SYVZ1SIE7jCd/Pp+1/mNLFtdJfGvAF+CqOTDG8HcCNCiBvoXfopXfOfMHQ/FueXhGfJW/I6DartWv6QzpNGg==", + "version": "22.10.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.10.0.tgz", + "integrity": "sha512-I54J4Vy4I07UHsgB1QSmuFoF7KNQjJWcvFBPhtY+ezMdBfwgGDr8dzYrJa11aPgP9kxIUHjhktcMmmfJkOAtTw==", "dev": true, "dependencies": { "@puppeteer/browsers": "2.2.3", diff --git a/package.json b/package.json index 090ace20d..2ae234e04 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "prettier": "^3.2.5", "prettier-plugin-go-template": "^0.0.15", "prettier-plugin-tailwindcss": "^0.5.14", - "puppeteer": "^22.9.0", + "puppeteer": "^22.10.0", "rimraf": "^5.0.7", "tailwindcss": "^3.4.3", "tw-elements": "2.0.0", From 820c7f52399f3839fce15f850305330cc8c23a60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 05:59:34 +0000 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=93=8C=20Bump=20@headlessui/react=20f?= =?UTF-8?q?rom=202.0.3=20to=202.0.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 2.0.3 to 2.0.4. - [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@v2.0.4/packages/@headlessui-react) --- updated-dependencies: - dependency-name: "@headlessui/react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2dbc3a09b..55696c100 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "hugo-blowfish-theme", - "version": "2.68.0", + "version": "2.69.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hugo-blowfish-theme", - "version": "2.68.0", + "version": "2.69.0", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@headlessui/react": "^2.0.3", + "@headlessui/react": "^2.0.4", "@heroicons/react": "^2.1.3", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.7", @@ -146,9 +146,9 @@ "integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==" }, "node_modules/@headlessui/react": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.0.3.tgz", - "integrity": "sha512-Xd1h0YZgfhxZ7W1w4TvK0/TZ1c4qaX4liYVUkAXqW1HCLcXSqnMeYAUGJS/BBroBAUL9HErjyFcRpCWRQZ/0lA==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.0.4.tgz", + "integrity": "sha512-16d/rOLeYsFsmPlRmXGu8DCBzrWD0zV1Ccx3n73wN87yFu8Y9+X04zflv8EJEt9TAYRyLKOmQXUnOnqQl6NgpA==", "dependencies": { "@floating-ui/react": "^0.26.13", "@react-aria/focus": "^3.16.2", diff --git a/package.json b/package.json index 090ace20d..4d60f524b 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,7 @@ } ], "dependencies": { - "@headlessui/react": "^2.0.3", + "@headlessui/react": "^2.0.4", "@heroicons/react": "^2.1.3", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.7", From d487de1e34737bf5881bd0e77c426109aafeced1 Mon Sep 17 00:00:00 2001 From: nunocoracao <3803196+nunocoracao@users.noreply.github.com> Date: Fri, 31 May 2024 06:05:23 +0000 Subject: [PATCH 5/7] Update Hugo supported version --- config.toml | 2 +- release-versions/hugo-latest.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 952e19a8b..04252d249 100644 --- a/config.toml +++ b/config.toml @@ -2,4 +2,4 @@ [module.hugoVersion] extended = true min = "0.87.0" -max = "0.126.1" +max = "0.126.2" diff --git a/release-versions/hugo-latest.txt b/release-versions/hugo-latest.txt index 74de625a2..9ce944e7b 100644 --- a/release-versions/hugo-latest.txt +++ b/release-versions/hugo-latest.txt @@ -1 +1 @@ -v0.126.1 +v0.126.2 From 9dc79407188adef714954ce463628f58e4725118 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 31 May 2024 12:37:29 +0200 Subject: [PATCH 6/7] Use markdown emojify instead of dump emojify --- exampleSite/layouts/partials/recent-articles-demo.html | 2 +- layouts/_default/index.json | 4 ++-- layouts/_default/list.html | 2 +- layouts/_default/simple.html | 2 +- layouts/_default/single.html | 4 ++-- layouts/_default/taxonomy.html | 2 +- layouts/_default/term.html | 4 ++-- layouts/partials/article-link/card-related.html | 4 ++-- layouts/partials/article-link/card.html | 4 ++-- layouts/partials/article-link/simple.html | 4 ++-- layouts/partials/author-extra.html | 6 +++--- layouts/partials/author.html | 6 +++--- layouts/partials/footer.html | 8 ++++---- layouts/partials/header/basic.html | 8 ++++---- layouts/partials/header/header-mobile-option-nested.html | 6 +++--- layouts/partials/header/header-mobile-option-simple.html | 4 ++-- layouts/partials/header/header-option-nested.html | 4 ++-- layouts/partials/header/header-option-simple.html | 4 ++-- layouts/partials/home/background.html | 4 ++-- layouts/partials/home/card.html | 4 ++-- layouts/partials/home/hero.html | 4 ++-- layouts/partials/home/page.html | 2 +- layouts/partials/home/profile.html | 6 +++--- layouts/partials/meta/date-updated.html | 2 +- layouts/partials/meta/date.html | 2 +- layouts/partials/meta/word-count.html | 2 +- layouts/partials/recent-articles/main.html | 4 ++-- layouts/partials/translations.html | 2 +- layouts/shortcodes/codeberg.html | 4 ++-- layouts/shortcodes/github.html | 6 +++--- layouts/shortcodes/gitlab.html | 4 ++-- 31 files changed, 62 insertions(+), 62 deletions(-) diff --git a/exampleSite/layouts/partials/recent-articles-demo.html b/exampleSite/layouts/partials/recent-articles-demo.html index 6e40b8e8d..21bbd8db2 100644 --- a/exampleSite/layouts/partials/recent-articles-demo.html +++ b/exampleSite/layouts/partials/recent-articles-demo.html @@ -37,7 +37,7 @@

{{ i18n "shortcode.recent_article diff --git a/layouts/_default/index.json b/layouts/_default/index.json index 0f44c53e9..0a7626c91 100644 --- a/layouts/_default/index.json +++ b/layouts/_default/index.json @@ -9,8 +9,8 @@ "date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long")) "title" (.Title | emojify | safeJS) "section" ($section.Title | emojify | safeJS) - "summary" (.Summary | emojify | safeJS) - "content" (.Plain | emojify | safeJS) + "summary" (.Summary | safeJS) + "content" (.Plain | safeJS) "permalink" .RelPermalink "externalUrl" .Params.externalUrl "type" .Type diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ef35de855..6e6fecb89 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -49,7 +49,7 @@

{{ . {{ end }}
- {{ .Content | emojify }} + {{ .Content }}
diff --git a/layouts/_default/simple.html b/layouts/_default/simple.html index cc8847991..7b5b9a8bb 100644 --- a/layouts/_default/simple.html +++ b/layouts/_default/simple.html @@ -9,7 +9,7 @@

- {{ .Content | emojify }} + {{ .Content }}
{{ partial "sharing-links.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9e6c526fd..ad07f7d3b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -80,7 +80,7 @@

{{ partial "series/series.html" . }}
- {{ .Content | emojify }} + {{ .Content }}
{{ if (.Params.showAuthorBottom | default ( .Site.Params.article.showAuthorBottom | default false)) }} @@ -147,4 +147,4 @@

{{ end }}

-{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index aa8e4b102..b7a38c847 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -25,7 +25,7 @@

{{ . {{ if .Content }}
- {{ .Content | emojify }} + {{ .Content }}
{{ end }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html index dcaed108a..db33bd72a 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -24,7 +24,7 @@

{{ .
{{ if .Content }}
- {{ .Content | emojify }} + {{ .Content }}
{{ end }} -{{- end -}} \ No newline at end of file +{{- end -}} diff --git a/layouts/shortcodes/gitlab.html b/layouts/shortcodes/gitlab.html index 1fbe70e19..5b6153c53 100644 --- a/layouts/shortcodes/gitlab.html +++ b/layouts/shortcodes/gitlab.html @@ -12,12 +12,12 @@ {{ partial "icon.html" "gitlab" }}
- {{ .name_with_namespace | markdownify | emojify }} + {{ .name_with_namespace | markdownify }}

- {{ .description | markdownify | emojify }} + {{ .description | markdownify }}

From d20c8f1ea44186e9420c51abd2316c2a1f6fc2b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 31 May 2024 15:04:29 +0100 Subject: [PATCH 7/7] polish site configs --- config/_default/hugo.toml | 2 ++ exampleSite/config/_default/hugo.toml | 1 + layouts/_default/index.json | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 5f921347e..8641c4f6e 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -15,6 +15,8 @@ summaryLength = 0 buildDrafts = false buildFuture = false +enableEmoji = true + # googleAnalytics = "G-XXXXXXXXX" [imaging] diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index d058b6da7..619ae7a7a 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -17,6 +17,7 @@ hasCJKLanguage = true buildDrafts = false buildFuture = false +enableEmoji = true googleAnalytics = "G-PEDMYR1V0K" diff --git a/layouts/_default/index.json b/layouts/_default/index.json index 0a7626c91..7fbcfe26b 100644 --- a/layouts/_default/index.json +++ b/layouts/_default/index.json @@ -16,4 +16,4 @@ "type" .Type ) -}} {{- end -}} -{{- $index | jsonify -}} +{{- $index | jsonify -}} \ No newline at end of file