From de9a38161a87aeaa9443af22ccfe52173cf3cffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 2 May 2025 11:40:52 +0100 Subject: [PATCH 01/63] updated version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 35c422c1..81cd90a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-blowfish-theme", - "version": "2.85.1", + "version": "2.86.0", "description": "Blowfish theme for Hugo.", "scripts": { "postinstall": "vendor-copy", From bc235ae526e5f03e18a32c35e3cfc8a32cc20ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ariel=20G=C3=B3es=20de=20Castro?= <35307478+arielgoes@users.noreply.github.com> Date: Fri, 2 May 2025 16:35:51 +0200 Subject: [PATCH 02/63] Update users.json --- exampleSite/content/users/users.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/users/users.json b/exampleSite/content/users/users.json index 21256e25..89de807f 100644 --- a/exampleSite/content/users/users.json +++ b/exampleSite/content/users/users.json @@ -889,5 +889,14 @@ "Personal Site", "Blog" ] + }, + { + "title": "FEEC/UNICAMP IA382 - Seminar in Computer Engineering", + "url": "https://feec-seminar-comp-eng.github.io/", + "source" : "https://github.com/feec-seminar-comp-eng/feec-seminar-comp-eng.github.io", + "tags" : [ + "Seminars", + "Class" + ] } -] \ No newline at end of file +] From a109230b22e1c20f18ceaecd6d0f646871e6cd9b Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Fri, 2 May 2025 17:17:46 +0200 Subject: [PATCH 03/63] Add PeerTube icon --- assets/icons/peertube.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 assets/icons/peertube.svg diff --git a/assets/icons/peertube.svg b/assets/icons/peertube.svg new file mode 100644 index 00000000..5d6db0bc --- /dev/null +++ b/assets/icons/peertube.svg @@ -0,0 +1 @@ + \ No newline at end of file From 8b0b0b9c804e23ae4c40f123d13a5a4c78206f0e Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Fri, 2 May 2025 17:40:32 +0200 Subject: [PATCH 04/63] Add Pixelfed icon --- assets/icons/pixelfed.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 assets/icons/pixelfed.svg diff --git a/assets/icons/pixelfed.svg b/assets/icons/pixelfed.svg new file mode 100644 index 00000000..969f26ad --- /dev/null +++ b/assets/icons/pixelfed.svg @@ -0,0 +1 @@ + \ No newline at end of file From e4b76d6fce660d52468992f788d896b46c12a574 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sat, 3 May 2025 02:59:33 +0800 Subject: [PATCH 05/63] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20defaultSocialIm?= =?UTF-8?q?age=20(#1491)=20(#2100)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `defaultSocialImage` as the default image for social media sharing. This feature would be useful for users who don’t want to specify an image for every article. This PR also resolves the issue where the homepage missing an image when shared. --- config/_default/params.toml | 1 + exampleSite/content/docs/configuration/index.it.md | 1 + exampleSite/content/docs/configuration/index.ja.md | 1 + exampleSite/content/docs/configuration/index.md | 1 + exampleSite/content/docs/configuration/index.zh-cn.md | 1 + layouts/partials/head.html | 8 ++++++++ 6 files changed, 13 insertions(+) diff --git a/config/_default/params.toml b/config/_default/params.toml index 0803aea5..d8e097ea 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -23,6 +23,7 @@ disableTextInHeader = false # defaultBackgroundImage = "IMAGE.jpg" # used as default for background images # defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles +# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter) # highlightCurrentMenuArea = true # smartTOC = true diff --git a/exampleSite/content/docs/configuration/index.it.md b/exampleSite/content/docs/configuration/index.it.md index 4da3babd..f88e3683 100644 --- a/exampleSite/content/docs/configuration/index.it.md +++ b/exampleSite/content/docs/configuration/index.it.md @@ -181,6 +181,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `disableTextInHeader` | `false` | Disables text in header, useful for logo based headers. | | `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style | | `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. | +| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image if available. | | `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected | | `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. | | `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. | diff --git a/exampleSite/content/docs/configuration/index.ja.md b/exampleSite/content/docs/configuration/index.ja.md index 0630f6f4..24f36382 100644 --- a/exampleSite/content/docs/configuration/index.ja.md +++ b/exampleSite/content/docs/configuration/index.ja.md @@ -181,6 +181,7 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ | `disableTextInHeader` | `false` | ヘッダーのテキストを無効にします。ロゴベースのヘッダーに役立ちます。 | | `defaultBackgroundImage` | _未設定_ | `background` ホームページレイアウトと `background` ヒーロースタイルの両方のデフォルトの背景画像です。 | | `defaultFeaturedImage` | _未設定_ | 記事全体のすべての `featured` 画像のデフォルトの背景画像です。ローカルの `featured` 画像によってオーバーライドされます。 | +| `defaultSocialImage` | _未設定_ | ソーシャルメディア共有(Open Graph と Twitter)用のデフォルト画像。ローカルの `featured` 画像によってオーバーライドされます。 | | `highlightCurrentMenuArea` | _未設定_ | メインメニューのメニュー項目が選択されているときにマークを付けます。 | | `smartTOC` | _未設定_ | スマート目次をアクティブにします。表示されている項目が強調表示されます。 | | `smartTOCHideUnfocusedChildren` | _未設定_ | スマート目次がオンになっている場合、フォーカスされていないときに、テーブルのより深いレベルが非表示になります。 | diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 6cc76234..bf132935 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -187,6 +187,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `disableTextInHeader` | `false` | Disables text in header, useful for logo based headers. | | `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style | | `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. | +| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image. | | `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected | | `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. | | `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. | diff --git a/exampleSite/content/docs/configuration/index.zh-cn.md b/exampleSite/content/docs/configuration/index.zh-cn.md index 12510ba5..e36f7de5 100644 --- a/exampleSite/content/docs/configuration/index.zh-cn.md +++ b/exampleSite/content/docs/configuration/index.zh-cn.md @@ -185,6 +185,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中 | `disableTextInHeader` | `false` | 禁用文本类型的标题,对基于 logo 的标题很有用。 | | `defaultBackgroundImage` | 无 | 设置默认背景图,用于 `background` 和 `hero` 布局下的主页。 | | `defaultFeaturedImage` | 无 | 设置默认背景图片,用于所有文章的`featured`图片,可以通过文章目录中的 `featured` 图片替换。 | +| `defaultSocialImage` | 无 | 社交媒体分享(Open Graph 和 Twitter)使用的默认图片,可以通过文章目录中的 `featured` 图片替换。 | | `highlightCurrentMenuArea` | 无 | 当菜单被选择时,标记主菜单中的菜单项。 | | `smartTOC` | 无 | 开启智能目录,视图中的项目将会被高亮显示。 | | `smartTOCHideUnfocusedChildren` | 无 | 当开启智能目录,如果目录级别不再被聚焦时,将会隐藏更深层次的目录。 | diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 46f47769..fc2d7638 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -107,6 +107,14 @@ {{/* Social */}} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} + {{- /* Image for both main page and backoff if not `*feature*` image found */ -}} + {{- /* See https://gohugo.io/templates/embedded/#open-graph */ -}} + {{ if not ($.Resources.GetMatch "*feature*") }} + {{ with .Site.Params.defaultSocialImage }} + + + {{ end }} + {{ end }} {{/* Schema */}} {{ partial "schema.html" . }} {{/* Me */}} From 3afe8b5e0052f2bf2fa4c58eb5fb1ad871add379 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sat, 3 May 2025 03:12:42 +0800 Subject: [PATCH 06/63] chore: correct typo (#1491) (#2100) --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index fc2d7638..71d8960a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -107,7 +107,7 @@ {{/* Social */}} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} - {{- /* Image for both main page and backoff if not `*feature*` image found */ -}} + {{- /* Main page always uses this; fallback elsewhere if no feature image */ -}} {{- /* See https://gohugo.io/templates/embedded/#open-graph */ -}} {{ if not ($.Resources.GetMatch "*feature*") }} {{ with .Site.Params.defaultSocialImage }} From f19c61cb9773a29a312e1c7f6eb1cb5ea0fccb09 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sat, 3 May 2025 16:46:10 +0800 Subject: [PATCH 07/63] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20make=20thumbAndBack?= =?UTF-8?q?ground=20behavior=20consistent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for URL input, matching the behavior of other hero partials. --- layouts/partials/hero/thumbAndBackground.html | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/layouts/partials/hero/thumbAndBackground.html b/layouts/partials/hero/thumbAndBackground.html index 5f974c4e..036ab514 100644 --- a/layouts/partials/hero/thumbAndBackground.html +++ b/layouts/partials/hero/thumbAndBackground.html @@ -2,7 +2,17 @@ {{- $images := .Resources.ByType "image" -}} {{- $background := $images.GetMatch "*background*" -}} -{{- if not $background }}{{ with .Site.Params.defaultBackgroundImage }}{{ $background = resources.Get . }}{{ end }}{{ end -}} + +{{- if not $background }} + {{ with .Site.Params.defaultBackgroundImage }} + {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} + {{ $background = resources.GetRemote . }} + {{ else }} + {{ $background = resources.Get . }} + {{ end }} + {{ end }} +{{ end -}} + {{- if not $background }}{{ $background = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- if not $background }}{{ $background = $images.GetMatch "*feature*" }}{{ end -}} {{- $featured := $images.GetMatch "*feature*" -}} @@ -12,7 +22,17 @@ {{- if not $featured }}{{ $featured = resources.GetRemote $url }}{{ end -}} {{ end }} {{- if not $featured }}{{ $featured = $images.GetMatch "*background*" }}{{ end -}} -{{- if not $featured }}{{ with .Site.Params.defaultBackgroundImage }}{{ $featured = resources.Get . }}{{ end }}{{ end -}} + +{{- if not $featured }} + {{ with .Site.Params.defaultFeaturedImage }} + {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} + {{ $featured = resources.GetRemote . }} + {{ else }} + {{ $featured = resources.Get . }} + {{ end }} + {{ end }} +{{ end -}} + {{ $isParentList := eq (.Scratch.Get "scope") "list" }} {{ $shouldBlur := $.Params.layoutBackgroundBlur | default (or (and ($.Site.Params.article.layoutBackgroundBlur | default true) (not $isParentList)) From 806a8612b81fb61482cd15a5bf35b88563bbb41c Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sat, 3 May 2025 19:53:39 +0800 Subject: [PATCH 08/63] chore: add usage example in document site --- exampleSite/config/_default/params.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 8069e6b7..00a1793c 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -23,6 +23,7 @@ disableTextInHeader = false defaultBackgroundImage = "/img/background.svg" defaultFeaturedImage = "/img/featured.svg" +defaultSocialImage = "/img/blowfish.jpg" highlightCurrentMenuArea = true smartTOC = true From 64869086015a832b9f47245cca53fe9a8aca6a62 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 4 May 2025 00:10:21 +0800 Subject: [PATCH 09/63] =?UTF-8?q?=E2=9C=A8=20Feat:=20gallery=20shortcode?= =?UTF-8?q?=20supports=20all=20kinds=20of=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also trim white spaces --- layouts/shortcodes/gallery.html | 67 +++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 29 deletions(-) diff --git a/layouts/shortcodes/gallery.html b/layouts/shortcodes/gallery.html index 31d9bc9b..68a65488 100644 --- a/layouts/shortcodes/gallery.html +++ b/layouts/shortcodes/gallery.html @@ -1,31 +1,40 @@ -{{ $id := delimit (slice "gallery" (partial "functions/uid.html" .)) "-" }} +{{ $id := delimit (slice "gallery" (partial "functions/uid.html" .)) "-" -}} - -```node +```shell npx blowfish-tools ``` diff --git a/exampleSite/content/_index.ja.md b/exampleSite/content/_index.ja.md index e70f3ca7..c55cba9f 100755 --- a/exampleSite/content/_index.ja.md +++ b/exampleSite/content/_index.ja.md @@ -20,7 +20,7 @@ description: "このページは Hugo の Blowfish テーマを利用して構 -```node +```shell npx blowfish-tools ``` diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 1cf8992f..ab606415 100755 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -20,7 +20,7 @@ description: "This page was built using the Blowfish theme for Hugo." -```node +```shell npx blowfish-tools ``` diff --git a/exampleSite/content/_index.zh-cn.md b/exampleSite/content/_index.zh-cn.md index 67faf25b..ac289b26 100644 --- a/exampleSite/content/_index.zh-cn.md +++ b/exampleSite/content/_index.zh-cn.md @@ -20,7 +20,7 @@ description: "此页面是使用 Hugo 的 Blowfish 主题搭建的" -```node +```shell npx blowfish-tools ``` diff --git a/exampleSite/content/docs/firebase-views/index.it.md b/exampleSite/content/docs/firebase-views/index.it.md index 254056b8..34a93a4b 100644 --- a/exampleSite/content/docs/firebase-views/index.it.md +++ b/exampleSite/content/docs/firebase-views/index.it.md @@ -16,7 +16,7 @@ In order to be able to support dynamic data across your website we've added the 3. Select analytics location 4. Setup firebase in Blowfish by getting the variables for your project and setting them inside `params.toml` file. More details can be found in }}">this page. You can find an example of the file Firebase will provide below, notice the parameters within the FirebaseConfig object. -``` +```js // Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; @@ -41,7 +41,7 @@ const analytics = getAnalytics(app); ``` 5. Setup Firestore - Select Build and open Firestore. Create a new database and choose to start in production mode. Select server location and wait. Once that is started you need to configure the rules. Just copy and paste the file below and press publish. -``` +```txt rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { diff --git a/exampleSite/content/docs/firebase-views/index.ja.md b/exampleSite/content/docs/firebase-views/index.ja.md index 16fc008c..d348b339 100644 --- a/exampleSite/content/docs/firebase-views/index.ja.md +++ b/exampleSite/content/docs/firebase-views/index.ja.md @@ -16,7 +16,7 @@ series_order: 15 3. 分析ロケーションを選択します 4. プロジェクトの変数を取得し、`params.toml` ファイル内で設定して、Blowfish で Firebase を設定します。詳細は、}}">このページをご覧ください。Firebase が提供するファイルの例を以下に示します。FirebaseConfig オブジェクト内のパラメータに注意してください。 -``` +```js // 必要な SDK から必要な関数をインポートします import { initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; @@ -41,7 +41,7 @@ const analytics = getAnalytics(app); ``` 5. Firestore を設定する - 「ビルド」を選択して Firestore を開きます。新しいデータベースを作成し、本番モードで開始することを選択します。サーバーの場所を選択して待ちます。開始したら、ルールを設定する必要があります。以下のファイルをコピーして貼り付け、「公開」をクリックします。 -``` +```txt rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { diff --git a/exampleSite/content/docs/firebase-views/index.md b/exampleSite/content/docs/firebase-views/index.md index 254056b8..34a93a4b 100644 --- a/exampleSite/content/docs/firebase-views/index.md +++ b/exampleSite/content/docs/firebase-views/index.md @@ -16,7 +16,7 @@ In order to be able to support dynamic data across your website we've added the 3. Select analytics location 4. Setup firebase in Blowfish by getting the variables for your project and setting them inside `params.toml` file. More details can be found in }}">this page. You can find an example of the file Firebase will provide below, notice the parameters within the FirebaseConfig object. -``` +```js // Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; @@ -41,7 +41,7 @@ const analytics = getAnalytics(app); ``` 5. Setup Firestore - Select Build and open Firestore. Create a new database and choose to start in production mode. Select server location and wait. Once that is started you need to configure the rules. Just copy and paste the file below and press publish. -``` +```txt rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { diff --git a/exampleSite/content/docs/firebase-views/index.zh-cn.md b/exampleSite/content/docs/firebase-views/index.zh-cn.md index 0b3754ea..f563366a 100644 --- a/exampleSite/content/docs/firebase-views/index.zh-cn.md +++ b/exampleSite/content/docs/firebase-views/index.zh-cn.md @@ -16,7 +16,7 @@ series_order: 15 3. 选择分析位置 4. Blowfish 是通过 `params.toml` 配置文件中的 firebase 相关参数,来和 firebase 集成的,更多的细节内容可以参考 }}">这个页面。你可以在下面找到集成 firebase 的文件示例,请注意 FirebaseConfig 对象内的参数。 -``` +```js // 从你需要的 SDK 中导入所需的函数 import { initializeApp } from "firebase/app"; import { getAnalytics } from "firebase/analytics"; @@ -41,7 +41,7 @@ const analytics = getAnalytics(app); ``` 5. 设置 Firestore - 选择 Build 并打开 Firestore. 创建一个数据库,并在生产环境中启动。选择服务器位置然后等待其部署完成。启动之后你需要配置规则。只需要复制并粘贴下面的内容,然后点击发布即可。 -``` +```txt rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { From adc828128d0b7a23d01843112c7a77b73d3ce107 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Tue, 6 May 2025 20:03:13 +0800 Subject: [PATCH 17/63] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20codeblock=20highlig?= =?UTF-8?q?ht=20in=20.prose-invert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 3 +++ assets/css/main.css | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 817ee1e9..a9805b93 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -3635,6 +3635,9 @@ a { color: rgba(var(--color-neutral-200), 1); } } +.prose-invert .highlight pre > code { + background-color: unset; +} .chroma .lntd, .chroma .lntd pre { margin: calc(var(--spacing) * 0); --tw-border-style: none; diff --git a/assets/css/main.css b/assets/css/main.css index d03c0015..21b20c63 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -132,6 +132,10 @@ a { @apply static rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200; } +.prose-invert .highlight pre > code { + background-color: unset; +} + /* LineTableTD */ .chroma .lntd, .chroma .lntd pre { From 772bcfb8794b7ee60f58a95661c073e143b23551 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Tue, 6 May 2025 21:42:12 +0800 Subject: [PATCH 18/63] =?UTF-8?q?=E2=9C=A8=20Feat:=20add=20option=20disabl?= =?UTF-8?q?eHeroImageFilter=20on=20homepage=20(#2029)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit disableHeroImageFilter deault to false. When set to true, it uses the color style from the background layout. --- exampleSite/config/_default/params.toml | 1 + .../content/docs/configuration/index.it.md | 1 + .../content/docs/configuration/index.ja.md | 1 + .../content/docs/configuration/index.md | 1 + .../content/docs/configuration/index.zh-cn.md | 1 + layouts/partials/home/hero.html | 46 ++++++++++++++----- 6 files changed, 40 insertions(+), 11 deletions(-) diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 8069e6b7..928b4cda 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -48,6 +48,7 @@ smartTOCHideUnfocusedChildren = false cardView = true cardViewScreenWidth = false layoutBackgroundBlur = true # only used when layout equals background + disableHeroImageFilter = false # only used when layout equals hero [article] showDate = false diff --git a/exampleSite/content/docs/configuration/index.it.md b/exampleSite/content/docs/configuration/index.it.md index 4da3babd..a2c91dee 100644 --- a/exampleSite/content/docs/configuration/index.it.md +++ b/exampleSite/content/docs/configuration/index.it.md @@ -214,6 +214,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `homepage.cardView` | `false` | Display recent articles as a gallery of cards. | | `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. | | `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll | +| `homepage.disableHeroImageFilter` | `false` | Whether to apply an image filter on the homepage background. | ### Article diff --git a/exampleSite/content/docs/configuration/index.ja.md b/exampleSite/content/docs/configuration/index.ja.md index 0630f6f4..e28b8ba0 100644 --- a/exampleSite/content/docs/configuration/index.ja.md +++ b/exampleSite/content/docs/configuration/index.ja.md @@ -214,6 +214,7 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ | `homepage.cardView` | `false` | 最近の記事をカードのギャラリーとして表示します。 | | `homepage.cardViewScreenWidth` | `false` | 最近の記事カードギャラリーの幅を拡張して、利用可能な幅全体を使用します。 | | `homepage.layoutBackgroundBlur` | `false` | ホームページレイアウトの背景画像をスクロールに合わせてぼかします。 | +| `homepage.disableHeroImageFilter` | `false` | ホームページの背景画像にフィルターを適用するかどうか。 | ### 記事(Article) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 6cc76234..16d19be4 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -220,6 +220,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `homepage.cardView` | `false` | Display recent articles as a gallery of cards. | | `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. | | `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll | +| `homepage.disableHeroImageFilter` | `false` | Whether to apply an image filter on the homepage background. | ### Article diff --git a/exampleSite/content/docs/configuration/index.zh-cn.md b/exampleSite/content/docs/configuration/index.zh-cn.md index 12510ba5..eca35f9e 100644 --- a/exampleSite/content/docs/configuration/index.zh-cn.md +++ b/exampleSite/content/docs/configuration/index.zh-cn.md @@ -218,6 +218,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中 | `homepage.cardView` | `false` | 将列表展示为卡片容器。 | | `homepage.cardViewScreenWidth` | `false` | 增强列表中卡片的宽度,使其可以占据可用的全部宽度。 | | `homepage.layoutBackgroundBlur` | `false` | 向下滚动主页时,是否模糊背景图。 | +| `homepage.disableHeroImageFilter` | `false` | 主页背景是否套用图片滤镜。 | ### 文章页 diff --git a/layouts/partials/home/hero.html b/layouts/partials/home/hero.html index aa6ea0e2..735f8196 100644 --- a/layouts/partials/home/hero.html +++ b/layouts/partials/home/hero.html @@ -1,4 +1,5 @@ {{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }} +{{ $disableHeroImageFilter := .Site.Params.homepage.disableHeroImageFilter | default false }}
@@ -22,9 +23,15 @@ {{ end }} {{ if $homepageImage }} -
-
+ {{ if not $disableHeroImageFilter }} +
+
+ {{ else }} +
+
+ {{ end }} {{ end }}
@@ -43,22 +50,39 @@ alt="{{ $.Site.Params.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" /> {{ end }} {{ end }} -

- {{ .Site.Params.Author.name | default .Site.Title }} -

- {{ with .Site.Params.Author.headline }} -

- {{ . | markdownify }} -

+ {{ if not $disableHeroImageFilter }} +

+ {{ .Site.Params.Author.name | default .Site.Title }} +

+ {{ with .Site.Params.Author.headline }} +

+ {{ . | markdownify }} +

+ {{ end }} + {{ else }} +

+ {{ .Site.Params.Author.name | default .Site.Title }} +

+ {{ with .Site.Params.Author.headline }} +

+ {{ . | markdownify }} +

+ {{ end }} {{ end }}
{{ with .Site.Params.Author.links }}
{{ range $links := . }} {{ range $name, $url := $links }} - {{ partial "icon.html" $name }} + {{ else }} + {{ partial + "icon.html" $name }} + {{ end }} {{ end }} {{ end }}
From 73cbdae59581dcc488fbb980f44b0db510644e13 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Tue, 6 May 2025 23:55:47 +0800 Subject: [PATCH 19/63] =?UTF-8?q?=E2=9C=A8=20Feat:=20support=20extend-head?= =?UTF-8?q?=20access=20.Page=20(#1781)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use extend-head-uncached.html for downward compatibility --- layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 46f47769..b38b8089 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -128,6 +128,10 @@ {{ if templates.Exists "partials/extend-head.html" }} {{ partialCached "extend-head.html" .Site }} {{ end }} + {{/* Uncached extend head - e.g. {{ with .Page.HasShortcode "gallery" }} do something {{ end }} */}} + {{ if templates.Exists "partials/extend-head-uncached.html" }} + {{ partial "extend-head-uncached.html" . }} + {{ end }} {{/* Firebase */}} {{ with $.Site.Params.firebase }} From 1448746ce9c2cb17c9ef70c3eed38bc5785341ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 May 2025 05:11:05 +0000 Subject: [PATCH 20/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20@tailwindcss/cli=20?= =?UTF-8?q?from=204.1.4=20to=204.1.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@tailwindcss/cli](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-cli) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.5/packages/@tailwindcss-cli) --- updated-dependencies: - dependency-name: "@tailwindcss/cli" dependency-version: 4.1.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 158 +++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 80 insertions(+), 80 deletions(-) diff --git a/package-lock.json b/package-lock.json index 36362c44..3f814707 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hugo-blowfish-theme", - "version": "2.85.0", + "version": "2.86.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hugo-blowfish-theme", - "version": "2.85.0", + "version": "2.86.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -17,7 +17,7 @@ "commander": "^13.1.0" }, "devDependencies": { - "@tailwindcss/cli": "^4.1.4", + "@tailwindcss/cli": "^4.1.5", "@tailwindcss/typography": "^0.5.16", "chart.js": "^4.4.9", "fuse.js": "^7.1.0", @@ -729,19 +729,19 @@ } }, "node_modules/@tailwindcss/cli": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/cli/-/cli-4.1.4.tgz", - "integrity": "sha512-gP05Qihh+cZ2FqD5fa0WJXx3KEk2YWUYv/RBKAyiOg0V4vYVDr/xlLc0sacpnVEXM45BVUR9U2hsESufYs6YTA==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/cli/-/cli-4.1.5.tgz", + "integrity": "sha512-Kr567rDwDjY1VUnfqh5/+DCpRf4B8lPs5O9flP4kri7n4AM2aubrIxGSh5GN8s+awUKw/U4+6kNlEnZbBNfUeg==", "dev": true, "license": "MIT", "dependencies": { "@parcel/watcher": "^2.5.1", - "@tailwindcss/node": "4.1.4", - "@tailwindcss/oxide": "4.1.4", + "@tailwindcss/node": "4.1.5", + "@tailwindcss/oxide": "4.1.5", "enhanced-resolve": "^5.18.1", "mri": "^1.2.0", "picocolors": "^1.1.1", - "tailwindcss": "4.1.4" + "tailwindcss": "4.1.5" }, "bin": { "tailwindcss": "dist/index.mjs" @@ -759,46 +759,46 @@ } }, "node_modules/@tailwindcss/node": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.4.tgz", - "integrity": "sha512-MT5118zaiO6x6hNA04OWInuAiP1YISXql8Z+/Y8iisV5nuhM8VXlyhRuqc2PEviPszcXI66W44bCIk500Oolhw==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.5.tgz", + "integrity": "sha512-CBhSWo0vLnWhXIvpD0qsPephiaUYfHUX3U9anwDaHZAeuGpTiB3XmsxPAN6qX7bFhipyGBqOa1QYQVVhkOUGxg==", "dev": true, "license": "MIT", "dependencies": { "enhanced-resolve": "^5.18.1", "jiti": "^2.4.2", "lightningcss": "1.29.2", - "tailwindcss": "4.1.4" + "tailwindcss": "4.1.5" } }, "node_modules/@tailwindcss/oxide": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.4.tgz", - "integrity": "sha512-p5wOpXyOJx7mKh5MXh5oKk+kqcz8T+bA3z/5VWWeQwFrmuBItGwz8Y2CHk/sJ+dNb9B0nYFfn0rj/cKHZyjahQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.5.tgz", + "integrity": "sha512-1n4br1znquEvyW/QuqMKQZlBen+jxAbvyduU87RS8R3tUSvByAkcaMTkJepNIrTlYhD+U25K4iiCIxE6BGdRYA==", "dev": true, "license": "MIT", "engines": { "node": ">= 10" }, "optionalDependencies": { - "@tailwindcss/oxide-android-arm64": "4.1.4", - "@tailwindcss/oxide-darwin-arm64": "4.1.4", - "@tailwindcss/oxide-darwin-x64": "4.1.4", - "@tailwindcss/oxide-freebsd-x64": "4.1.4", - "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.4", - "@tailwindcss/oxide-linux-arm64-gnu": "4.1.4", - "@tailwindcss/oxide-linux-arm64-musl": "4.1.4", - "@tailwindcss/oxide-linux-x64-gnu": "4.1.4", - "@tailwindcss/oxide-linux-x64-musl": "4.1.4", - "@tailwindcss/oxide-wasm32-wasi": "4.1.4", - "@tailwindcss/oxide-win32-arm64-msvc": "4.1.4", - "@tailwindcss/oxide-win32-x64-msvc": "4.1.4" + "@tailwindcss/oxide-android-arm64": "4.1.5", + "@tailwindcss/oxide-darwin-arm64": "4.1.5", + "@tailwindcss/oxide-darwin-x64": "4.1.5", + "@tailwindcss/oxide-freebsd-x64": "4.1.5", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.5", + "@tailwindcss/oxide-linux-arm64-gnu": "4.1.5", + "@tailwindcss/oxide-linux-arm64-musl": "4.1.5", + "@tailwindcss/oxide-linux-x64-gnu": "4.1.5", + "@tailwindcss/oxide-linux-x64-musl": "4.1.5", + "@tailwindcss/oxide-wasm32-wasi": "4.1.5", + "@tailwindcss/oxide-win32-arm64-msvc": "4.1.5", + "@tailwindcss/oxide-win32-x64-msvc": "4.1.5" } }, "node_modules/@tailwindcss/oxide-android-arm64": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.4.tgz", - "integrity": "sha512-xMMAe/SaCN/vHfQYui3fqaBDEXMu22BVwQ33veLc8ep+DNy7CWN52L+TTG9y1K397w9nkzv+Mw+mZWISiqhmlA==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.5.tgz", + "integrity": "sha512-LVvM0GirXHED02j7hSECm8l9GGJ1RfgpWCW+DRn5TvSaxVsv28gRtoL4aWKGnXqwvI3zu1GABeDNDVZeDPOQrw==", "cpu": [ "arm64" ], @@ -813,9 +813,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-arm64": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.4.tgz", - "integrity": "sha512-JGRj0SYFuDuAGilWFBlshcexev2hOKfNkoX+0QTksKYq2zgF9VY/vVMq9m8IObYnLna0Xlg+ytCi2FN2rOL0Sg==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.5.tgz", + "integrity": "sha512-//TfCA3pNrgnw4rRJOqavW7XUk8gsg9ddi8cwcsWXp99tzdBAZW0WXrD8wDyNbqjW316Pk2hiN/NJx/KWHl8oA==", "cpu": [ "arm64" ], @@ -830,9 +830,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-x64": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.4.tgz", - "integrity": "sha512-sdDeLNvs3cYeWsEJ4H1DvjOzaGios4QbBTNLVLVs0XQ0V95bffT3+scptzYGPMjm7xv4+qMhCDrkHwhnUySEzA==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.5.tgz", + "integrity": "sha512-XQorp3Q6/WzRd9OalgHgaqgEbjP3qjHrlSUb5k1EuS1Z9NE9+BbzSORraO+ecW432cbCN7RVGGL/lSnHxcd+7Q==", "cpu": [ "x64" ], @@ -847,9 +847,9 @@ } }, "node_modules/@tailwindcss/oxide-freebsd-x64": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.4.tgz", - "integrity": "sha512-VHxAqxqdghM83HslPhRsNhHo91McsxRJaEnShJOMu8mHmEj9Ig7ToHJtDukkuLWLzLboh2XSjq/0zO6wgvykNA==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.5.tgz", + "integrity": "sha512-bPrLWbxo8gAo97ZmrCbOdtlz/Dkuy8NK97aFbVpkJ2nJ2Jo/rsCbu0TlGx8joCuA3q6vMWTSn01JY46iwG+clg==", "cpu": [ "x64" ], @@ -864,9 +864,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.4.tgz", - "integrity": "sha512-OTU/m/eV4gQKxy9r5acuesqaymyeSCnsx1cFto/I1WhPmi5HDxX1nkzb8KYBiwkHIGg7CTfo/AcGzoXAJBxLfg==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.5.tgz", + "integrity": "sha512-1gtQJY9JzMAhgAfvd/ZaVOjh/Ju/nCoAsvOVJenWZfs05wb8zq+GOTnZALWGqKIYEtyNpCzvMk+ocGpxwdvaVg==", "cpu": [ "arm" ], @@ -881,9 +881,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.4.tgz", - "integrity": "sha512-hKlLNvbmUC6z5g/J4H+Zx7f7w15whSVImokLPmP6ff1QqTVE+TxUM9PGuNsjHvkvlHUtGTdDnOvGNSEUiXI1Ww==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.5.tgz", + "integrity": "sha512-dtlaHU2v7MtdxBXoqhxwsWjav7oim7Whc6S9wq/i/uUMTWAzq/gijq1InSgn2yTnh43kR+SFvcSyEF0GCNu1PQ==", "cpu": [ "arm64" ], @@ -898,9 +898,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-musl": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.4.tgz", - "integrity": "sha512-X3As2xhtgPTY/m5edUtddmZ8rCruvBvtxYLMw9OsZdH01L2gS2icsHRwxdU0dMItNfVmrBezueXZCHxVeeb7Aw==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.5.tgz", + "integrity": "sha512-fg0F6nAeYcJ3CriqDT1iVrqALMwD37+sLzXs8Rjy8Z1ZHshJoYceodfyUwGJEsQoTyWbliFNRs2wMQNXtT7MVA==", "cpu": [ "arm64" ], @@ -915,9 +915,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-gnu": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.4.tgz", - "integrity": "sha512-2VG4DqhGaDSmYIu6C4ua2vSLXnJsb/C9liej7TuSO04NK+JJJgJucDUgmX6sn7Gw3Cs5ZJ9ZLrnI0QRDOjLfNQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.5.tgz", + "integrity": "sha512-SO+F2YEIAHa1AITwc8oPwMOWhgorPzzcbhWEb+4oLi953h45FklDmM8dPSZ7hNHpIk9p/SCZKUYn35t5fjGtHA==", "cpu": [ "x64" ], @@ -932,9 +932,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-musl": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.4.tgz", - "integrity": "sha512-v+mxVgH2kmur/X5Mdrz9m7TsoVjbdYQT0b4Z+dr+I4RvreCNXyCFELZL/DO0M1RsidZTrm6O1eMnV6zlgEzTMQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.5.tgz", + "integrity": "sha512-6UbBBplywkk/R+PqqioskUeXfKcBht3KU7juTi1UszJLx0KPXUo10v2Ok04iBJIaDPkIFkUOVboXms5Yxvaz+g==", "cpu": [ "x64" ], @@ -949,9 +949,9 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.4.tgz", - "integrity": "sha512-2TLe9ir+9esCf6Wm+lLWTMbgklIjiF0pbmDnwmhR9MksVOq+e8aP3TSsXySnBDDvTTVd/vKu1aNttEGj3P6l8Q==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.5.tgz", + "integrity": "sha512-hwALf2K9FHuiXTPqmo1KeOb83fTRNbe9r/Ixv9ZNQ/R24yw8Ge1HOWDDgTdtzntIaIUJG5dfXCf4g9AD4RiyhQ==", "bundleDependencies": [ "@napi-rs/wasm-runtime", "@emnapi/core", @@ -967,10 +967,10 @@ "license": "MIT", "optional": true, "dependencies": { - "@emnapi/core": "^1.4.0", - "@emnapi/runtime": "^1.4.0", - "@emnapi/wasi-threads": "^1.0.1", - "@napi-rs/wasm-runtime": "^0.2.8", + "@emnapi/core": "^1.4.3", + "@emnapi/runtime": "^1.4.3", + "@emnapi/wasi-threads": "^1.0.2", + "@napi-rs/wasm-runtime": "^0.2.9", "@tybys/wasm-util": "^0.9.0", "tslib": "^2.8.0" }, @@ -979,18 +979,18 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { - "version": "1.4.0", + "version": "1.4.3", "dev": true, "inBundle": true, "license": "MIT", "optional": true, "dependencies": { - "@emnapi/wasi-threads": "1.0.1", + "@emnapi/wasi-threads": "1.0.2", "tslib": "^2.4.0" } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { - "version": "1.4.0", + "version": "1.4.3", "dev": true, "inBundle": true, "license": "MIT", @@ -1000,7 +1000,7 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { - "version": "1.0.1", + "version": "1.0.2", "dev": true, "inBundle": true, "license": "MIT", @@ -1010,7 +1010,7 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { - "version": "0.2.8", + "version": "0.2.9", "dev": true, "inBundle": true, "license": "MIT", @@ -1039,9 +1039,9 @@ "optional": true }, "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.4.tgz", - "integrity": "sha512-VlnhfilPlO0ltxW9/BgfLI5547PYzqBMPIzRrk4W7uupgCt8z6Trw/tAj6QUtF2om+1MH281Pg+HHUJoLesmng==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.5.tgz", + "integrity": "sha512-oDKncffWzaovJbkuR7/OTNFRJQVdiw/n8HnzaCItrNQUeQgjy7oUiYpsm9HUBgpmvmDpSSbGaCa2Evzvk3eFmA==", "cpu": [ "arm64" ], @@ -1056,9 +1056,9 @@ } }, "node_modules/@tailwindcss/oxide-win32-x64-msvc": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.4.tgz", - "integrity": "sha512-+7S63t5zhYjslUGb8NcgLpFXD+Kq1F/zt5Xv5qTv7HaFTG/DHyHD9GA6ieNAxhgyA4IcKa/zy7Xx4Oad2/wuhw==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.5.tgz", + "integrity": "sha512-WiR4dtyrFdbb+ov0LK+7XsFOsG+0xs0PKZKkt41KDn9jYpO7baE3bXiudPVkTqUEwNfiglCygQHl2jklvSBi7Q==", "cpu": [ "x64" ], @@ -3358,9 +3358,9 @@ } }, "node_modules/lightningcss/node_modules/detect-libc": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz", - "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -4433,9 +4433,9 @@ } }, "node_modules/tailwindcss": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.4.tgz", - "integrity": "sha512-1ZIUqtPITFbv/DxRmDr5/agPqJwF69d24m9qmM1939TJehgY539CtzeZRjbLt5G6fSy/7YqqYsfvoTEw9xUI2A==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.5.tgz", + "integrity": "sha512-nYtSPfWGDiWgCkwQG/m+aX83XCwf62sBgg3bIlNiiOcggnS1x3uVRDAuyelBFL+vJdOPPCGElxv9DjHJjRHiVA==", "license": "MIT" }, "node_modules/tapable": { diff --git a/package.json b/package.json index 81cd90a7..cf555db6 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "homepage": "https://github.com/nunocoracao/blowfish#readme", "devDependencies": { - "@tailwindcss/cli": "^4.1.4", + "@tailwindcss/cli": "^4.1.5", "@tailwindcss/typography": "^0.5.16", "chart.js": "^4.4.9", "fuse.js": "^7.1.0", From f77272fed02d3d0a196a6fcbda2932c7ffa8dec6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 May 2025 05:11:30 +0000 Subject: [PATCH 21/63] =?UTF-8?q?=F0=9F=92=84=20Rebuild=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 284 +++++++---------------------------- 1 file changed, 58 insertions(+), 226 deletions(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 817ee1e9..9a507eee 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */ +/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ @layer properties; #zen-mode-button { @@ -392,15 +392,9 @@ body.zen-mode-enable { color: var(--tw-prose-links); text-decoration: none; font-weight: 500; - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-300), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-300), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-primary-300), 1); &:hover { - color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); - } + color: rgba(var(--color-primary-600), 1); text-decoration: none; border-radius: 0.09rem; } @@ -563,20 +557,14 @@ body.zen-mode-enable { padding-inline-end: 0.375em; padding-bottom: 0.1875em; padding-inline-start: 0.375em; - background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); - } + background-color: rgba(var(--color-neutral-200), 1); padding: 0.1rem 0.4rem; } :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-code); font-weight: 600; font-size: 0.875em; - background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-50), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-neutral-50), 1) 100%, transparent); - } + background-color: rgba(var(--color-neutral-50), 1); padding-top: 3px; padding-bottom: 3px; padding-left: 5px; @@ -696,138 +684,42 @@ body.zen-mode-enable { line-height: 1.4285714; margin-top: 0.8571429em; } - --tw-prose-body: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-body: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } - --tw-prose-headings: color-mix(in srgb, rgba(rgba(var(--color-neutral-800), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-headings: color-mix(in oklab, rgba(var(--color-neutral-800), 1) 100%, transparent); - } - --tw-prose-lead: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-lead: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); - } - --tw-prose-links: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-links: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); - } - --tw-prose-bold: color-mix(in srgb, rgba(rgba(var(--color-neutral-900), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-bold: color-mix(in oklab, rgba(var(--color-neutral-900), 1) 100%, transparent); - } - --tw-prose-counters: color-mix(in srgb, rgba(rgba(var(--color-neutral-800), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-counters: color-mix(in oklab, rgba(var(--color-neutral-800), 1) 100%, transparent); - } - --tw-prose-bullets: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-bullets: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); - } - --tw-prose-hr: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-hr: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); - } - --tw-prose-quotes: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-quotes: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } - --tw-prose-quote-borders: color-mix(in srgb, rgba(rgba(var(--color-primary-200), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-quote-borders: color-mix(in oklab, rgba(var(--color-primary-200), 1) 100%, transparent); - } - --tw-prose-captions: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-captions: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); - } + --tw-prose-body: rgba(var(--color-neutral-700), 1); + --tw-prose-headings: rgba(var(--color-neutral-800), 1); + --tw-prose-lead: rgba(var(--color-neutral-500), 1); + --tw-prose-links: rgba(var(--color-primary-600), 1); + --tw-prose-bold: rgba(var(--color-neutral-900), 1); + --tw-prose-counters: rgba(var(--color-neutral-800), 1); + --tw-prose-bullets: rgba(var(--color-neutral-500), 1); + --tw-prose-hr: rgba(var(--color-neutral-200), 1); + --tw-prose-quotes: rgba(var(--color-neutral-700), 1); + --tw-prose-quote-borders: rgba(var(--color-primary-200), 1); + --tw-prose-captions: rgba(var(--color-neutral-500), 1); --tw-prose-kbd: oklch(21% 0.034 264.665); --tw-prose-kbd-shadows: NaN NaN NaN; - --tw-prose-code: color-mix(in srgb, rgba(rgba(var(--color-secondary-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-code: color-mix(in oklab, rgba(var(--color-secondary-700), 1) 100%, transparent); - } - --tw-prose-pre-code: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-pre-code: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } - --tw-prose-pre-bg: color-mix(in srgb, rgba(rgba(var(--color-neutral-50), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-pre-bg: color-mix(in oklab, rgba(var(--color-neutral-50), 1) 100%, transparent); - } - --tw-prose-th-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-th-borders: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); - } - --tw-prose-td-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-300), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-td-borders: color-mix(in oklab, rgba(var(--color-neutral-300), 1) 100%, transparent); - } - --tw-prose-invert-body: color-mix(in srgb, rgba(rgba(var(--color-neutral-300), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-body: color-mix(in oklab, rgba(var(--color-neutral-300), 1) 100%, transparent); - } - --tw-prose-invert-headings: color-mix(in srgb, rgba(rgba(var(--color-neutral-50), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-headings: color-mix(in oklab, rgba(var(--color-neutral-50), 1) 100%, transparent); - } - --tw-prose-invert-lead: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-lead: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); - } - --tw-prose-invert-links: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-links: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } - --tw-prose-invert-bold: color-mix(in srgb, rgba(rgba(var(--color-neutral), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-bold: color-mix(in oklab, rgba(var(--color-neutral), 1) 100%, transparent); - } - --tw-prose-invert-counters: color-mix(in srgb, rgba(rgba(var(--color-neutral-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-counters: color-mix(in oklab, rgba(var(--color-neutral-400), 1) 100%, transparent); - } - --tw-prose-invert-bullets: color-mix(in srgb, rgba(rgba(var(--color-neutral-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-bullets: color-mix(in oklab, rgba(var(--color-neutral-600), 1) 100%, transparent); - } - --tw-prose-invert-hr: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-hr: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); - } - --tw-prose-invert-quotes: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-quotes: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); - } - --tw-prose-invert-quote-borders: color-mix(in srgb, rgba(rgba(var(--color-primary-900), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-quote-borders: color-mix(in oklab, rgba(var(--color-primary-900), 1) 100%, transparent); - } - --tw-prose-invert-captions: color-mix(in srgb, rgba(rgba(var(--color-neutral-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-captions: color-mix(in oklab, rgba(var(--color-neutral-400), 1) 100%, transparent); - } + --tw-prose-code: rgba(var(--color-secondary-700), 1); + --tw-prose-pre-code: rgba(var(--color-neutral-700), 1); + --tw-prose-pre-bg: rgba(var(--color-neutral-50), 1); + --tw-prose-th-borders: rgba(var(--color-neutral-500), 1); + --tw-prose-td-borders: rgba(var(--color-neutral-300), 1); + --tw-prose-invert-body: rgba(var(--color-neutral-300), 1); + --tw-prose-invert-headings: rgba(var(--color-neutral-50), 1); + --tw-prose-invert-lead: rgba(var(--color-neutral-500), 1); + --tw-prose-invert-links: rgba(var(--color-primary-400), 1); + --tw-prose-invert-bold: rgba(var(--color-neutral), 1); + --tw-prose-invert-counters: rgba(var(--color-neutral-400), 1); + --tw-prose-invert-bullets: rgba(var(--color-neutral-600), 1); + --tw-prose-invert-hr: rgba(var(--color-neutral-500), 1); + --tw-prose-invert-quotes: rgba(var(--color-neutral-200), 1); + --tw-prose-invert-quote-borders: rgba(var(--color-primary-900), 1); + --tw-prose-invert-captions: rgba(var(--color-neutral-400), 1); --tw-prose-invert-kbd: #fff; --tw-prose-invert-kbd-shadows: 255 255 255; - --tw-prose-invert-code: color-mix(in srgb, rgba(rgba(var(--color-secondary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-code: color-mix(in oklab, rgba(var(--color-secondary-400), 1) 100%, transparent); - } - --tw-prose-invert-pre-code: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-pre-code: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); - } - --tw-prose-invert-pre-bg: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-pre-bg: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } - --tw-prose-invert-th-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-th-borders: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); - } - --tw-prose-invert-td-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - --tw-prose-invert-td-borders: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } + --tw-prose-invert-code: rgba(var(--color-secondary-400), 1); + --tw-prose-invert-pre-code: rgba(var(--color-neutral-200), 1); + --tw-prose-invert-pre-bg: rgba(var(--color-neutral-700), 1); + --tw-prose-invert-th-borders: rgba(var(--color-neutral-500), 1); + --tw-prose-invert-td-borders: rgba(var(--color-neutral-700), 1); font-size: 1rem; line-height: 1.75; :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { @@ -913,14 +805,8 @@ body.zen-mode-enable { margin-bottom: 0; } :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - color: color-mix(in srgb, rgba(rgba(var(--color-neutral-800), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - color: color-mix(in oklab, rgba(var(--color-neutral-800), 1) 100%, transparent); - } - background-color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); - } + color: rgba(var(--color-neutral-800), 1); + background-color: rgba(var(--color-primary-600), 1); padding: 0.1rem 0.2rem; border-radius: 0.25rem; } @@ -931,16 +817,10 @@ body.zen-mode-enable { display: none; } :where(a.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-primary-600), 1); } :where(p.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-primary-600), 1); } } .\!mt-0 { @@ -1649,50 +1529,26 @@ body.zen-mode-enable { --tw-prose-th-borders: var(--tw-prose-invert-th-borders); --tw-prose-td-borders: var(--tw-prose-invert-td-borders); :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-neutral-600), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-neutral-600), 1); &:hover { - color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + color: rgba(var(--color-primary-400), 1); } } :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - color: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - color: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); - } - background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } + color: rgba(var(--color-neutral-200), 1); + background-color: rgba(var(--color-neutral-700), 1); } :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + background-color: rgba(var(--color-primary-400), 1); } :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } + background-color: rgba(var(--color-neutral-700), 1); } :where(a.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-primary-400), 1); } :where(p.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-primary-400), 1); } } .bg-\[\#6d6d6d\] { @@ -2215,7 +2071,7 @@ body.zen-mode-enable { backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,); } .transition { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter; + transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events; transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); transition-duration: var(--tw-duration, var(--default-transition-duration)); } @@ -3205,50 +3061,26 @@ body.zen-mode-enable { --tw-prose-th-borders: var(--tw-prose-invert-th-borders); --tw-prose-td-borders: var(--tw-prose-invert-td-borders); :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-600), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-neutral-600), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-neutral-600), 1); &:hover { - color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + color: rgba(var(--color-primary-400), 1); } } :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - color: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - color: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); - } - background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } + color: rgba(var(--color-neutral-200), 1); + background-color: rgba(var(--color-neutral-700), 1); } :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + background-color: rgba(var(--color-primary-400), 1); } :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); - } + background-color: rgba(var(--color-neutral-700), 1); } :where(a.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-primary-400), 1); } :where(p.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); - @supports (color: color-mix(in lab, red, red)) { - text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); - } + text-decoration-color: rgba(var(--color-primary-400), 1); } } } From 6e49bfac5e3db56c88aedcf5844f248ea77d1ee5 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 7 May 2025 16:10:00 +0800 Subject: [PATCH 22/63] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20anchor=20not=20work?= =?UTF-8?q?ing=20for=20non-ascii=20characters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix in-page anchor links by replacing urlize to anchorize --- layouts/_default/_markup/render-heading.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html index ccc83778..b4ab6314 100644 --- a/layouts/_default/_markup/render-heading.html +++ b/layouts/_default/_markup/render-heading.html @@ -1,12 +1,11 @@ -{{ $strAnchor := urlize .Anchor }} -{{ $replacedAnchor := replaceRE "%25" "" $strAnchor }} +{{ $anchor := anchorize .Anchor }} {{ .Text | safeHTML }} -
- {{ if.Page.Params.showHeadingAnchors | default (.Page.Site.Params.article.showHeadingAnchors | default true) }} +
+ {{ if .Page.Params.showHeadingAnchors | default (.Page.Site.Params.article.showHeadingAnchors | default true) }} # + style="text-decoration-line: none !important;" href="#{{ $anchor }}" aria-label="{{ i18n "article.anchor_label" }}"># {{ end }}
From c20a86585ea90562e2ed81163a0db1bbf308b269 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 7 May 2025 17:57:32 +0800 Subject: [PATCH 23/63] =?UTF-8?q?=F0=9F=93=9D=20Docs:=20fix=20all=20anchor?= =?UTF-8?q?=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Work along with #2122 --- .../content/docs/configuration/index.it.md | 10 ++++----- .../content/docs/configuration/index.ja.md | 2 +- .../content/docs/configuration/index.zh-cn.md | 17 +++++++------- .../docs/content-examples/index.zh-cn.md | 2 +- .../content/docs/homepage-layout/index.it.md | 4 ++-- .../docs/homepage-layout/index.zh-cn.md | 4 ++-- .../content/docs/installation/index.it.md | 20 ++++++++--------- .../content/docs/installation/index.zh-cn.md | 22 +++++++++---------- .../content/docs/shortcodes/index.zh-cn.md | 2 +- 9 files changed, 41 insertions(+), 42 deletions(-) diff --git a/exampleSite/content/docs/configuration/index.it.md b/exampleSite/content/docs/configuration/index.it.md index 4da3babd..3440fab6 100644 --- a/exampleSite/content/docs/configuration/index.it.md +++ b/exampleSite/content/docs/configuration/index.it.md @@ -44,7 +44,7 @@ Tieni presente che i nomi delle variabili forniti in questa tabella utilizzano i | ------------------------ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `theme` | `"blowfish"` | Quando si utilizzano i moduli Hugo, questo valore di configurazione deve essere rimosso. Per tutti gli altri tipi di installazione, questo deve essere impostato su "blowfish" affinché il tema funzioni. | | `baseURL` | _Not set_ | The URL to the root of the website. | -| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. | +| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#lingua-e-i18n) section below for supported language codes. | | `enableRobotsTXT` | `true` | Se abilitato, verrà creato un file "robots.txt" nella radice del sito che consentirà ai motori di ricerca di eseguire la scansione dell'intero sito. Se preferisci fornire il tuo file `robots.txt` predefinito, impostalo su `false` e ​​posiziona il file nella directory `static`. Per un controllo completo, puoi fornire un [layout personalizzato]({{< ref "content-examples#custom-layouts" >}}) per generare questo file. | | `pagination.pagerSize` | `10` | Il numero di articoli elencati in ciascuna pagina dell'elenco degli articoli. | | `summaryLength` | `0` | Il numero di parole utilizzate per generare il riepilogo dell'articolo quando non ne viene fornita una nella [front matter]({{< ref "front-matter" >}}). Un valore pari a "0" utilizzerà la prima frase. Questo valore non ha effetto quando i riepiloghi sono nascosti. | @@ -106,7 +106,7 @@ Per essere il più flessibili possibile, è necessario creare un file di configu Il file predefinito può essere utilizzato come modello per creare lingue aggiuntive o rinominato se desideri creare il tuo sito web in una lingua diversa dall'inglese. Basta nominare il file utilizzando il formato "lingue.[language-code].toml". {{< alert >}} -**Nota:** assicurati che il parametro `defaultContentLanguage` nella [configurazione del sito](#site-configuration) corrisponda al codice della lingua nel nome del file di configurazione della lingua. +**Nota:** assicurati che il parametro `defaultContentLanguage` nella [configurazione del sito](#configurazioni-del-sito) corrisponda al codice della lingua nel nome del file di configurazione della lingua. {{< /alert >}} #### Globale @@ -170,7 +170,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `colorScheme` | `"blowfish"` | The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, and`slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details. | | `defaultAppearance` | `"light"` | The default theme appearance, either `light` or `dark`. | | `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](#configurazioni-del-sito) being set correctly. | | `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `` 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. | | `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. | @@ -196,7 +196,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | Name | Default | Description | | ------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `footer.showMenu` | `true` | Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file. | -| `footer.showCopyright` | `true` | Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#language-and-i18n). | +| `footer.showCopyright` | `true` | Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#lingua-e-i18n). | | `footer.showThemeAttribution` | `true` | Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page). | | `footer.showAppearanceSwitcher` | `false` | Whether or not to show the appearance switcher in the site footer. The browser's local storage is used to persist the visitor's preference. | | `footer.showScrollToTop` | `true` | When set to `true` the scroll to top arrow is displayed. | @@ -260,7 +260,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `list.layoutBackgroundBlur` | `true` | Makes the background image in the background list heroStyle blur with the scroll | | `list.layoutBackgroundHeaderSpace` | `true` | Add space between the header and the body. | | `list.showTableOfContents` | `false` | Whether or not the table of contents is displayed on list pages. | -| `list.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration). | +| `list.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#configurazioni-del-sito). | | `list.showViews` | `false` | Whether or not list views are displayed. This requires firebase integrations to be enabled, look below. | | `list.showLikes` | `false` | Whether or not list likes are displayed. This requires firebase integrations to be enabled, look below. | | `list.showCards` | `false` | Whether or not each article is displayed as a card or as simple inline text. | diff --git a/exampleSite/content/docs/configuration/index.ja.md b/exampleSite/content/docs/configuration/index.ja.md index 0630f6f4..4f5b56f9 100644 --- a/exampleSite/content/docs/configuration/index.ja.md +++ b/exampleSite/content/docs/configuration/index.ja.md @@ -260,7 +260,7 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ | `list.layoutBackgroundBlur` | `true` | `background` リストの heroStyle の背景画像をスクロールでぼかします。 | | `list.layoutBackgroundHeaderSpace` | `true` | ヘッダーと本文の間にスペースを追加します。 | | `list.showTableOfContents` | `false` | リストページに目次を表示するかどうか。 | -| `list.showSummary` | `false` | リストページに記事の要約を表示するかどうか。[フロントマター]({{< ref "front-matter" >}}) で要約が提供されていない場合、[サイト設定](#site-configuration) の `summaryLength` パラメータを使用して自動的に生成されます。 | +| `list.showSummary` | `false` | リストページに記事の要約を表示するかどうか。[フロントマター]({{< ref "front-matter" >}}) で要約が提供されていない場合、[サイト設定](#サイト設定) の `summaryLength` パラメータを使用して自動的に生成されます。 | | `list.showViews` | `false` | リストの閲覧数を表示するかどうか。これを有効にするには、Firebase の統合を有効にする必要があります。以下をご覧ください。 | | `list.showLikes` | `false` | リストのいいね数を表示するかどうか。これを有効にするには、Firebase の統合を有効にする必要があります。以下をご覧ください。 | | `list.showCards` | `false` | 各記事をカードとして表示するか、シンプルなインラインテキストとして表示するかどうか。 | diff --git a/exampleSite/content/docs/configuration/index.zh-cn.md b/exampleSite/content/docs/configuration/index.zh-cn.md index 12510ba5..94f819dc 100644 --- a/exampleSite/content/docs/configuration/index.zh-cn.md +++ b/exampleSite/content/docs/configuration/index.zh-cn.md @@ -43,7 +43,7 @@ Blowfish 主题支持了 Hugo 框架中定义的所有标准配置变量。但 | ------------------------ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `theme` | `"blowfish"` | 当你使用 Hugo 模块安装时,应该移除这个配置项。但对 Git 子模块或本地文件复制的安装方式,必须将其设置为 blowfish 才能正常工作。 | | `baseURL` | 无 | 网站 URL 根地址。 | -| `defaultContentLanguage` | `"en"` | 这个值决定了主题中组件和内容所使用的默认语言。 参考 [语言和 i18n](#language-and-i18n) 部分来了解 blowfish 支持的所有语言代码。 | +| `defaultContentLanguage` | `"en"` | 这个值决定了主题中组件和内容所使用的默认语言。 参考 [语言和 i18n](#语言和i18n) 部分来了解 blowfish 支持的所有语言代码。 | | `enableRobotsTXT` | `true` | 当开启这个值,`robots.txt` 文件将会被创建在站点根目录, 这将允许搜索引擎抓取整个网站。如果你想要自己提供 `robots.txt`,那么设置这个值为 `false` 并把你的文件放置到 `static` 目录下。 为了实现完全控制,你可以需要提供一个 [自定义布局]({{< ref "content-examples#custom-layouts" >}}) 来生成此文件。 | | `pagination.pagerSize` | `10` | 定义文章列表中,每页展示的文章数量。 | | `summaryLength` | `0` | 当[扉页参数]({{< ref "front-matter" >}}) 中没有提供文章摘要时,此参数定义了自动生成文章摘要的单词数量。如果值为`0`,则默认使用第一句话作为摘要。当摘要被隐藏,这个值没有任何效果。 | @@ -104,7 +104,7 @@ Blowfish 主题目前默认支持了以下语言: 默认的文件可以用来作为创建其他语言的一个模板,如果你希望用英语以外的语言撰写网站,也可以对其重命名。只需要格式遵循 `languages.[language-code].toml` 的命名即可。 {{< alert >}} -**注意:** 保证 [网站设置](#site-configuration) 中的 `defaultContentLanguage`参数和你提供的语言配置文件相匹配。 +**注意:** 保证 [网站设置](#网站配置) 中的 `defaultContentLanguage`参数和你提供的语言配置文件相匹配。 {{< /alert >}} #### 全局 @@ -170,8 +170,8 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中 | `colorScheme` | `"blowfish"` | 主题使用的颜色方案。合法的值有: `blowfish` (默认)、`avocado`、`fire`、`ocean`、`forest`、`princess`、`neon`、`bloody`、`terminal`、`marvel`、`noir`、`autumn`、`congo` 和 `slate`。 具体参考[颜色方案]({{< ref "getting-started#colour-schemes" >}})以获取更多信息。 | | `defaultAppearance` | `"light"` | 默认的主题外观,可以是 `light` 或者 `dark`。 | | `autoSwitchAppearance` | `true` | 主题外观是否根据访问者操作系统的偏好自动切换。设置为 `false` 会强制网站始终使用 `defaultAppearance`。 | -| `enableSearch` | `false` | 是否开启网站的搜索功能,设为 `true` 即为启用。注意,搜索功能依赖于[站点设置](#site-configuration)中的 `outputs.home` 设置,请确保此值配置正确。 | -| `enableCodeCopy` | `false` | 是否可以将``代码块复制到剪贴板。想要使用代码复制功能,需要将 `highlight.noClasses` 参数设置为 `false`。 阅读 [其他配置文件](#other-configuration-files) 以获取更多信息。 | +| `enableSearch` | `false` | 是否开启网站的搜索功能,设为 `true` 即为启用。注意,搜索功能依赖于[站点设置](#网站配置)中的 `outputs.home` 设置,请确保此值配置正确。 | +| `enableCodeCopy` | `false` | 是否可以将``代码块复制到剪贴板。想要使用代码复制功能,需要将 `highlight.noClasses` 参数设置为 `false`。 阅读 [其他配置文件](#其他配置文件) 以获取更多信息。 | | `replyByEmail` | `false` | 是否在发布后启用“通过邮件回复”的链接。如果使用,则必须设置 `config/_default/languages.en.toml` 中的 `params.author.email` 参数。 | | `forgejoDefaultServer` | _Not set_ | 短代码 `forgejo` 的默认 `server` 参数。 | | `giteaDefaultServer` | _Not set_ | 短代码 `gitea` 的默认 `server` 参数。 | @@ -200,7 +200,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中 | 名称 | 默认值 | 描述 | | ------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------- | | `footer.showMenu` | `true` | 显示/隐藏页面底部菜单,该菜单可以在 `config/_default/menus.en.toml` 文件中的 `[[footer]]` 部分进行配置。 | -| `footer.showCopyright` | `true` | 是否在底部显示 copyright 版权信息。请注意,如果你想定制,可以在[语言配置](#language-and-i18n)中使用 `copyright` 参数。 | +| `footer.showCopyright` | `true` | 是否在底部显示 copyright 版权信息。请注意,如果你想定制,可以在[语言配置](#语言和i18n)中使用 `copyright` 参数。 | | `footer.showThemeAttribution` | `true` | 是否在网站底部中显示"powered by" 的主题归属信息。如果禁用此参数,请考虑在你网站的其他位置设置主题归属信息,例如在关于页面。 | | `footer.showAppearanceSwitcher` | `false` | 是否在也页面底部显示外观切换器。浏览器的本地存储会缓存访问者的偏好设置。 | | `footer.showScrollToTop` | `true` | 当设置为 `true` 时,显示返回顶部的箭头按钮。 | @@ -245,7 +245,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中 | `article.invertPagination` | `false` | 是否翻转下一篇/上一篇文章链接的方向。 | | `article.showReadingTime` | `true` | 是否展示文章的阅读时间。如果你的语言包含 CJK 语言,需要在 `config.toml` 中开启 `hasCJKLanguage` 参数。 | | `article.showTableOfContents` | `false` | 是否展示文章的目录。 | -| `article.showRelatedContent` | `false` | 为文章显示相关内容。如果你想要启用此功能,请检查 `config.toml` 文件并复制所有 *related* 相关的参数,如果你想自定义,也可以对 `config.toml` 添加额外配置。更多内容请参考 [Hugo 文档](https://gohugo.io/content-management/related/) 中关于 *related* 的内容。 | +| `article.showRelatedContent` | `false` | 为文章显示相关内容。如果你想要启用此功能,请检查 `config.toml` 文件并复制所有 _related_ 相关的参数,如果你想自定义,也可以对 `config.toml` 添加额外配置。更多内容请参考 [Hugo 文档](https://gohugo.io/content-management/related/) 中关于 _related_ 的内容。 | | `article.relatedContentLimit` | `3` | 如果启用`showRelatedContent`,则限制显示相关文章的数量。 | | `article.showTaxonomies` | `false` | 是否显示文章的分类或标签信息。 | | `article.showAuthorsBadges` | `false` | 是否在文章或列表中显示 `authors` 分类。这需要开启多个作者 `multiple authors` 和 `authors` 分类法。 请阅读 [这个网页]({{< ref "multi-author" >}}) 来获取更多内容。 | @@ -264,7 +264,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中 | `list.layoutBackgroundBlur` | `true` | 向下滚动列表页时,是否模糊背景图。 | | `list.layoutBackgroundHeaderSpace` | `true` | 在标题和正文之间添加空白区域间隔。 | | `list.showTableOfContents` | `false` | 是否展示目录。 | -| `list.showSummary` | `false` | 是否在列表页显示文章摘要。如果在[扉页参数]({{< ref "front-matter" >}})中没有提供摘要,那么将会使用[站点配置](#site-configuration) 中的 `summaryLength` 参数自动生成一个。 | +| `list.showSummary` | `false` | 是否在列表页显示文章摘要。如果在[扉页参数]({{< ref "front-matter" >}})中没有提供摘要,那么将会使用[站点配置](#网站配置) 中的 `summaryLength` 参数自动生成一个。 | | `list.showViews` | `false` | 是否显示文章阅读量。这需要集成 firebase ,具体可以看下面。 | | `list.showLikes` | `false` | 是否显示文章点赞量。这需要集成 firebase ,具体可以看下面。 | | `list.showCards` | `false` | 是否将每个文章显示为卡片或简单的内联文本。 | @@ -372,8 +372,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中 | `rssnext.feedId` | _Not set_ | [RSSNext/Follow](https://follow.is) 提供的 `feeId`,这将被自动添加在 `rss.xml` 中以便完成订阅源所有权验证,证明该源属于你自己。 | | `rssnext.userId` | _Not set_ | [RSSNext/Follow](https://follow.is) 提供的 `userId`,这将被自动添加在 `rss.xml` 中以便完成订阅源所有权验证,证明该源属于你自己 | - -## 别的配置文件 +## 其他配置文件 Blowfish 主题还包括 `markup.toml` 配置文件。这个文件包含了一些重要参数,来确保 Hugo 正确配置以生成使用 Blowfish 创建的网站。 diff --git a/exampleSite/content/docs/content-examples/index.zh-cn.md b/exampleSite/content/docs/content-examples/index.zh-cn.md index 343db7f2..7308e3b2 100644 --- a/exampleSite/content/docs/content-examples/index.zh-cn.md +++ b/exampleSite/content/docs/content-examples/index.zh-cn.md @@ -128,7 +128,7 @@ animals: ["lion", "cat"] 这个列表页会列举出所有包含在这个分类中的术语。在上面的例子中,`/animals/` 页面会包含 "lion" 和 "cat" 的链接,以此将访问者导向至具体的术语页。 -术语页将会列举出包含这个术语的所有页面。这些术语页面本质上和[列表页面](#list-pages)相同,并且以类似的方式运作。 +术语页将会列举出包含这个术语的所有页面。这些术语页面本质上和[列表页面](#列表页)相同,并且以类似的方式运作。 如果你想在分类页面中添加自定义的内容,只需要对应文件夹的目录中创建 `_index.md` 文件即可。 diff --git a/exampleSite/content/docs/homepage-layout/index.it.md b/exampleSite/content/docs/homepage-layout/index.it.md index b6d62a51..ae1b9170 100644 --- a/exampleSite/content/docs/homepage-layout/index.it.md +++ b/exampleSite/content/docs/homepage-layout/index.it.md @@ -11,7 +11,7 @@ series_order: 5 Blowfish fornisce un layout della home page completamente flessibile. Sono disponibili due modelli principali tra cui scegliere con impostazioni aggiuntive per adattare il design. In alternativa, puoi anche fornire il tuo modello e avere il controllo completo sul contenuto della home page. -Il layout della home page è controllato dall'impostazione `homepage.layout` nel file di configurazione `params.toml`. Inoltre, tutti i layout hanno la possibilità di includere un elenco di [articoli recenti](#recent-articles). +Il layout della home page è controllato dall'impostazione `homepage.layout` nel file di configurazione `params.toml`. Inoltre, tutti i layout hanno la possibilità di includere un elenco di [articoli recenti](#articoli-recenti). ## Profile layout @@ -65,7 +65,7 @@ Per abilitare il layout personalizzato, impostare `homepage.layout = “custom Con il valore di configurazione impostato, creare un nuovo file `custom.html` e collocarlo in `layouts/partials/home/custom.html`. Ora tutto ciò che è contenuto nel file `custom.html` sarà collocato nell'area dei contenuti della homepage del sito. È possibile utilizzare qualsiasi funzione HTML, Tailwind o Hugo per definire il layout. -Per includere [articoli recenti](#recent-articles) nel layout personalizzato, utilizzare il partial `recent-articles/main.html`. +Per includere [articoli recenti](#articoli-recenti) nel layout personalizzato, utilizzare il partial `recent-articles/main.html`. Ad esempio, la [homepage]({{< ref "/" >}}) di questo sito utilizza il layout personalizzato per consentire di passare dal layout del profilo a quello della pagina. Visitare il [repo GitHub](https://github.com/nunocoracao/blowfish/blob/main/exampleSite/layouts/partials/home/custom.html) per vedere come funziona. diff --git a/exampleSite/content/docs/homepage-layout/index.zh-cn.md b/exampleSite/content/docs/homepage-layout/index.zh-cn.md index 0601ba81..a09fd262 100644 --- a/exampleSite/content/docs/homepage-layout/index.zh-cn.md +++ b/exampleSite/content/docs/homepage-layout/index.zh-cn.md @@ -11,7 +11,7 @@ series_order: 5 Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主要模板,并提供了额外的参数来帮助调整设计。当然,你也可以提供自己的模板,完全控制主页的内容。 -主页布局由 `params.toml` 配置文件中的 `homepage.layout` 参数来控制的。此外所有布局都默认包括 [最近文章](#recent-articles)。 +主页布局由 `params.toml` 配置文件中的 `homepage.layout` 参数来控制的。此外所有布局都默认包括 [最近文章](#最近文章)。 ## 个人资料布局 (profile) @@ -65,7 +65,7 @@ Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主 配置好参数后,在 `layouts/partials/home` 目录下创建一个 `custom.html` 文件。 `custom.html` 文件中定义的任何内容都会被放置在网站主页的内容区域。你可以使用 HTML、Tailwind 或 Hugo 模板函数来定义你的布局。 -如果你想在自定义布局上添加 [最近文章](#recent-articles),请使用 `recent-articles/main.html` 中的内容。 +如果你想在自定义布局上添加 [最近文章](#最近文章),请使用 `recent-articles/main.html` 中的内容。 如果你想在网站[主页]({{< ref "/" >}})使用自定义布局来实现在个人资料和页面布局之间的切换。这里的[GitHub 仓库](https://github.com/nunocoracao/blowfish/blob/main/exampleSite/layouts/partials/home/custom.html)有一个例子可以参考。 diff --git a/exampleSite/content/docs/installation/index.it.md b/exampleSite/content/docs/installation/index.it.md index 56aaa055..5f8a3945 100644 --- a/exampleSite/content/docs/installation/index.it.md +++ b/exampleSite/content/docs/installation/index.it.md @@ -11,7 +11,7 @@ series_order: 2 Segui semplicemente la procedura standard [Avvio Rapido](https://gohugo.io/getting-started/quick-start/) di Hugo per iniziare subito. -Sono riportate le istruzioni dettagliate per l'installazione. Sono disponibili anche le istruzioni per [aggiornare il tema](#installazione-aggiornamenti). +Sono riportate le istruzioni dettagliate per l'installazione. Sono disponibili anche le istruzioni per [aggiornare il tema](#installazione-degli-aggiornamenti). ## Installazione @@ -66,9 +66,9 @@ La cartella del progetto può essere chiamata come si vuole, ma le istruzioni ch Esistono diversi modi per installare il tema Blowfish nel proprio sito web Hugo. Dal più facile al più difficile da installare e mantenere, sono: -- [Git submodule](#install-using-git) (recommended) -- [Hugo module](#install-using-hugo) -- [Copia manuale dei file](#install-manually) +- [Git submodule](#installazione-usando-git) (recommended) +- [Hugo module](#installazione-usando-hugo) +- [Copia manuale dei file](#installazione-manuale) Se non sei sicuro, scegli il metodo Git submodule. @@ -84,7 +84,7 @@ git init git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish ``` -poi continua a [impostare i file di configurazione del tema](#set-up-theme-configuration-files). +poi continua a [impostare i file di configurazione del tema](#imposta-i-file-di-configurazione-del-tema). #### Installazione usando Hugo @@ -115,7 +115,7 @@ Per questo metodo utilizzerai Hugo per gestire i tuoi temi. Hugo utilizza **Go** ``` 4. Avvia il tuo server utilizzando `hugo server` e il tema verrà scaricato automaticamente. -5. Continua con [impostare i file di configurazione del tema](#set-up-theme-configuration-files). +5. Continua con [impostare i file di configurazione del tema](#imposta-i-file-di-configurazione-del-tema). #### Installazione manuale 1. Scarica l'ultima versione del codice sorgente del tema. @@ -124,7 +124,7 @@ Per questo metodo utilizzerai Hugo per gestire i tuoi temi. Hugo utilizza **Go** "blowfish" e "themes/" 2. Estrai l'archivio, rinomina la cartella in `blowfish` spostala nella directory `themes/` all'interno della cartella principale del tuo progetto Hugo. -3. Continua con [impostare i file di configurazione del tema](#set-up-theme-configuration-files). +3. Continua con [impostare i file di configurazione del tema](#imposta-i-file-di-configurazione-del-tema). #### Imposta i file di configurazione del tema @@ -167,9 +167,9 @@ Di tanto in tanto verranno pubblicate [nuove versioni](https://github.com/nunoco Il modo in cui procedere dipenderà dal metodo di installazione scelto al momento dell'installazione originale del tema. Le istruzioni per ciascun metodo sono disponibili di seguito. -- [Git submodule](#update-using-git) -- [Hugo module](#update-using-hugo) -- [Copia manuale del file](#aggiornamento-manuale) +- [Git submodule](#aggiornamento-utilizzando-git) +- [Hugo module](#aggiornamento-utilizzando-hugo) +- [Copia manuale del file](#aggiornamenti-manuali) ### Aggiornamento utilizzando Git diff --git a/exampleSite/content/docs/installation/index.zh-cn.md b/exampleSite/content/docs/installation/index.zh-cn.md index 8cf1c663..b2503469 100644 --- a/exampleSite/content/docs/installation/index.zh-cn.md +++ b/exampleSite/content/docs/installation/index.zh-cn.md @@ -11,7 +11,7 @@ series_order: 2 如果想快速上手,可以按照标准的 Hugo [快速启动](https://gohugo.io/getting-started/quick-start/) 文档。 -更详细的安装如下,[更新主题](#installing-updates)的教程也可以看此文档。 +更详细的安装如下,[更新主题](#更新主题)的教程也可以看此文档。 ## 前言 @@ -66,9 +66,9 @@ blowfish-tools new mynewsite 有多种方法可以将 Blowfish 主题安装在 Hugo 站点中。下面我们由易到难逐一介绍: -- [使用 Git 子模块安装](#install-using-git) (推荐) -- [使用 Hugo 模块安装](#install-using-hugo) -- [手动文件复制](#install-manually) +- [使用 Git 子模块安装](#使用-git-子模块安装) (推荐) +- [使用 Hugo 模块安装](#使用-hugo-模板安装) +- [手动文件复制](#手动复制文件) 如果你不确定用哪一个,请直接选择 Git 子模块的方式。 @@ -84,7 +84,7 @@ git init git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish ``` -然后 [设置主题的配置文件](#set-up-theme-configuration-files)。 +然后 [设置主题的配置文件](#手动复制文件)。 #### 使用 Hugo 模板安装 @@ -115,7 +115,7 @@ git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blo ``` 4. 使用`hugo server` 命令后,主题将会自动下载。 -5. 然后 [设置主题的配置文件](#set-up-theme-configuration-files). +5. 然后 [设置主题的配置文件](#手动复制文件). #### 手动复制文件 @@ -124,7 +124,7 @@ git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blo {{< button href="https://github.com/nunocoracao/blowfish/releases/latest" target="_blank" >}}从 Github 下载{{< /button >}} 2. 解压缩, 并将文件夹重命名为 `blowfish`,将其移动到你的 Hugo 项目根目录下的 `themes/` 目录中。 -3. 然后 [设置主题的配置文件](#set-up-theme-configuration-files). +3. 然后 [设置主题的配置文件](#手动复制文件). #### 设置主题的配置文件 @@ -167,11 +167,11 @@ config/_default/ 如何更新主题取决于最初安装主题时选择的安装方式,具体如下: -- [使用 Git 子模块安装](#update-using-git) -- [使用 Hugo 模块安装](#update-using-hugo) -- [手动文件复制](#update-manually) +- [使用 Git 子模块安装](#使用-git-更新) +- [使用 Hugo 模块安装](#使用-hugo-更新) +- [手动文件复制](#手动更新) -### 利用 git 更新 +### 使用 git 更新 Git 子模块的方式,可以使用 `git` 命令更新。只需执行以下命令,最新版的主题将会下载到你的本地仓库中: diff --git a/exampleSite/content/docs/shortcodes/index.zh-cn.md b/exampleSite/content/docs/shortcodes/index.zh-cn.md index d33cfa1d..28593c55 100644 --- a/exampleSite/content/docs/shortcodes/index.zh-cn.md +++ b/exampleSite/content/docs/shortcodes/index.zh-cn.md @@ -18,7 +18,7 @@ series_order: 8 | 参数 | 功能 | | ----------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `icon` | **可选** 显示在左侧的图标。
**默认:** `exclaimation triangle icon` (查看[图标简码](#icon),了解有关使用图标的更多详细信息。) | +| `icon` | **可选** 显示在左侧的图标。
**默认:** `exclaimation triangle icon` (查看[图标简码](#图标),了解有关使用图标的更多详细信息。) | | `iconColor` | **可选** 基本 CSS 样式中图标的颜色。
可以是十六进制值 (`#FFFFFF`) 或颜色名称 (`white`)
默认情况下由当前配色方案决定。 | | `cardColor` | **可选** 基本 CSS 样式中卡片背景的颜色。
可以是十六进制值 (`#FFFFFF`) 或颜色名称 (`white`)
默认情况下由当前配色方案决定。 | | `textColor` | **可选** 基本 CSS 样式中文本的颜色。
可以是十六进制值 (`#FFFFFF`) 或颜色名称 (`white`)
默认情况下由当前配色方案决定。 | From a9996082c443c865dc4bcbd808a85a30447b8f70 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 7 May 2025 19:20:14 +0800 Subject: [PATCH 24/63] =?UTF-8?q?=F0=9F=93=9D=20Docs:=20fix=20broken=20ima?= =?UTF-8?q?ge=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/homepage-layout/index.it.md | 12 ++++++------ exampleSite/content/docs/homepage-layout/index.ja.md | 12 ++++++------ exampleSite/content/docs/homepage-layout/index.md | 12 ++++++------ .../content/docs/homepage-layout/index.zh-cn.md | 12 ++++++------ exampleSite/content/docs/welcome/index.it.md | 2 +- exampleSite/content/docs/welcome/index.zh-cn.md | 2 +- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/exampleSite/content/docs/homepage-layout/index.it.md b/exampleSite/content/docs/homepage-layout/index.it.md index ae1b9170..3ed9d608 100644 --- a/exampleSite/content/docs/homepage-layout/index.it.md +++ b/exampleSite/content/docs/homepage-layout/index.it.md @@ -17,7 +17,7 @@ Il layout della home page è controllato dall'impostazione `homepage.layout` nel Il layout predefinito è quello del profilo, ideale per i siti web e i blog personali. Mette i dettagli dell'autore in primo piano, fornendo un'immagine e i link ai profili sociali. - +{{< figure src="img/home-profile.png" class="thumbnailshadow" >}} Le informazioni sull'autore sono fornite nel file di configurazione delle lingue. Fare riferimento alle sezioni [Guida introduttiva]({{< ref "getting-started" >}}) e [Configurazione della lingua]({{< ref "configuration##language-and-i18n" >}}) per i dettagli sui parametri. @@ -28,7 +28,7 @@ Per abilitare il layout del profilo, impostare `homepage.layout = “profile”` ## Page layout Il layout di pagina è semplicemente una normale pagina di contenuto che visualizza il contenuto Markdown. È ottimo per i siti web statici e offre una grande flessibilità. - +{{< figure src="img/home-page.png" class="thumbnailshadow" >}} Per abilitare il layout di pagina, impostare `homepage.layout = “page”` nel file di configurazione `params.toml`. @@ -36,7 +36,7 @@ Per abilitare il layout di pagina, impostare `homepage.layout = “page”` nel Il layout hero riunisce le idee dei layout profilo e scheda. Questo non solo mostra le informazioni sull'autore del sito, ma carica anche il markdown sotto di esso. - +{{< figure src="img/home-hero.png" class="thumbnailshadow" >}} Per abilitare il layout Hero, impostare `homepage.layout = “hero”` e `homepage.homepageImage` nel file di configurazione `params.toml`. @@ -44,7 +44,7 @@ Per abilitare il layout Hero, impostare `homepage.layout = “hero”` e `homepa Il layout di sfondo è una versione più fluida del layout Hero. Come nel layout Hero, anche in questo caso vengono visualizzate le informazioni sull'autore del sito e viene caricato il markdown sotto di esso. - +{{< figure src="img/home-background.png" class="thumbnailshadow" >}} Per abilitare il layout di sfondo, impostare `homepage.layout = “background”` e `homepage.homepageImage` nel file di configurazione `params.toml`. @@ -52,7 +52,7 @@ Per abilitare il layout di sfondo, impostare `homepage.layout = “background” Il layout delle schede è un'estensione del layout di pagina. Offre lo stesso livello di flessibilità, visualizzando anche i contenuti markdown e aggiungendo un'immagine per visualizzare i contenuti visivi. - +{{< figure src="img/home-card.png" class="thumbnailshadow" >}} Per abilitare il layout a scheda, impostare `homepage.layout = “card”` e `homepage.homepageImage` nel file di configurazione `params.toml`. @@ -73,7 +73,7 @@ Ad esempio, la [homepage]({{< ref "/" >}}) di questo sito utilizza il layout per Tutti i layout delle homepage hanno la possibilità di visualizzare gli articoli recenti sotto il contenuto della pagina principale. Per attivarla, è sufficiente impostare l'opzione `homepage.showRecent` a `true` nel file di configurazione `params.toml`. - +{{< figure src="img/home-list.png" class="thumbnailshadow" >}} Gli articoli elencati in questa sezione sono derivati dall'impostazione `mainSections`, che consente di utilizzare i tipi di contenuto del sito web. Per esempio, se si hanno sezioni di contenuto per _post_ e _progetti_, si può impostare questa impostazione su `[“post”, “progetti”]` e tutti gli articoli di queste due sezioni saranno utilizzati per popolare l'elenco dei recenti. Il tema si aspetta che questa impostazione sia un array, quindi se si utilizza una sola sezione per tutti i contenuti, è necessario impostarla di conseguenza: `[“blog”]`. diff --git a/exampleSite/content/docs/homepage-layout/index.ja.md b/exampleSite/content/docs/homepage-layout/index.ja.md index cb4eee20..e0f2ae91 100644 --- a/exampleSite/content/docs/homepage-layout/index.ja.md +++ b/exampleSite/content/docs/homepage-layout/index.ja.md @@ -17,7 +17,7 @@ Blowfish は完全に柔軟なホームページレイアウトを提供しま デフォルトのレイアウトはプロフィールレイアウトで、個人ウェブサイトやブログに最適です。画像とソーシャルプロファイルへのリンクを提供することで、著者の詳細を前面に押し出します。 - +{{< figure src="img/home-profile.png" class="thumbnailshadow" >}} 著者情報は、言語設定ファイルで提供されます。パラメータの詳細については、[始める]({{< ref "getting-started" >}})と[言語設定]({{< ref "configuration#言語と-i18n" >}})セクションを参照してください。 @@ -29,7 +29,7 @@ Blowfish は完全に柔軟なホームページレイアウトを提供しま ページレイアウトは、Markdown コンテンツを表示する通常のコンテンツページです。静的ウェブサイトに最適で、高い柔軟性を提供します。 - +{{< figure src="img/home-page.png" class="thumbnailshadow" >}} ページレイアウトを有効にするには、`params.toml` 設定ファイルで `homepage.layout = "page"` を設定します。 @@ -37,7 +37,7 @@ Blowfish は完全に柔軟なホームページレイアウトを提供しま ヒーローレイアウトは、プロフィールレイアウトとカードレイアウトのアイデアを組み合わせたものです。これは、サイトの著者に関する情報を表示するだけでなく、その下に Markdown をロードします。 - +{{< figure src="img/home-hero.png" class="thumbnailshadow" >}} ヒーローレイアウトを有効にするには、`params.toml` 設定ファイルで `homepage.layout = "hero"` と `homepage.homepageImage` を設定します。 @@ -45,7 +45,7 @@ Blowfish は完全に柔軟なホームページレイアウトを提供しま 背景レイアウトは、ヒーローレイアウトをより滑らかにしたバージョンです。ヒーローレイアウトと同様に、サイトの著者に関する情報を表示し、その下に Markdown をロードします。 - +{{< figure src="img/home-background.png" class="thumbnailshadow" >}} 背景レイアウトを有効にするには、`params.toml` 設定ファイルで `homepage.layout = "background"` と `homepage.homepageImage` を設定します。 @@ -53,7 +53,7 @@ Blowfish は完全に柔軟なホームページレイアウトを提供しま カードレイアウトは、ページレイアウトの拡張版です。Markdown コンテンツも表示することで同じレベルの柔軟性を提供し、ビジュアルコンテンツを表示するためのカード画像も追加します。 - +{{< figure src="img/home-card.png" class="thumbnailshadow" >}} カードレイアウトを有効にするには、`params.toml` 設定ファイルで `homepage.layout = "card"` と `homepage.homepageImage` を設定します。 @@ -73,7 +73,7 @@ Blowfish は完全に柔軟なホームページレイアウトを提供しま すべてのホームページレイアウトには、メインページコンテンツの下に最新記事を表示するオプションがあります。これを有効にするには、`params.toml` 設定ファイルで `homepage.showRecent` 設定を `true` に設定するだけです。 - +{{< figure src="img/home-list.png" class="thumbnailshadow" >}} このセクションにリストされている記事は、`mainSections` 設定から派生したもので、ウェブサイトで使用しているコンテンツタイプを指定できます。たとえば、_posts_ と _projects_ のコンテンツセクションがある場合、この設定を `["posts", "projects"]` に設定すると、これら2つのセクションのすべての記事が最新リストに表示されます。テーマはこの設定を配列として想定しているため、すべてのコンテンツに1つのセクションのみを使用する場合は、それに応じて設定する必要があります: `["blog"]`。 diff --git a/exampleSite/content/docs/homepage-layout/index.md b/exampleSite/content/docs/homepage-layout/index.md index 14ea10b8..dc371558 100644 --- a/exampleSite/content/docs/homepage-layout/index.md +++ b/exampleSite/content/docs/homepage-layout/index.md @@ -17,7 +17,7 @@ The layout of the homepage is controlled by the `homepage.layout` setting in the The default layout is the profile layout, which is great for personal websites and blogs. It puts the author's details front and centre by providing an image and links to social profiles. - +{{< figure src="img/home-profile.png" class="thumbnailshadow" >}} The author information is provided in the languages configuration file. Refer to the [Getting Started]({{< ref "getting-started" >}}) and [Language Configuration]({{< ref "configuration##language-and-i18n" >}}) sections for parameter details. @@ -29,7 +29,7 @@ To enable the Profile layout, set `homepage.layout = "profile"` in the `params.t The page layout is simply a normal content page that displays your Markdown content. It's great for static websites and provides a lot of flexibility. - +{{< figure src="img/home-page.png" class="thumbnailshadow" >}} To enable the Page layout, set `homepage.layout = "page"` in the `params.toml` configuration file. @@ -37,7 +37,7 @@ To enable the Page layout, set `homepage.layout = "page"` in the `params.toml` c The hero layout brings together ideas from the profile and card layouts. This one not only displays information on the author of the site but it also loads your markdown beneath it. - +{{< figure src="img/home-hero.png" class="thumbnailshadow" >}} To enable the Hero layout, set `homepage.layout = "hero"` and `homepage.homepageImage` in the `params.toml` configuration file. @@ -45,7 +45,7 @@ To enable the Hero layout, set `homepage.layout = "hero"` and `homepage.homepage The background layout is a more smooth version of the hero layout. As in the Hero layout, this one also displays both information on the author of the site and loads your markdown beneath it. - +{{< figure src="img/home-background.png" class="thumbnailshadow" >}} To enable the Background layout, set `homepage.layout = "background"` and `homepage.homepageImage` in the `params.toml` configuration file. @@ -53,7 +53,7 @@ To enable the Background layout, set `homepage.layout = "background"` and `homep The card layout is an extension of the page layout. It provides the same level of flexibility by also displaying your markdown content and adds a card image to display visual content. - +{{< figure src="img/home-card.png" class="thumbnailshadow" >}} To enable the Card layout, set `homepage.layout = "card"` and `homepage.homepageImage` in the `params.toml` configuration file. @@ -74,7 +74,7 @@ As an example, the [homepage]({{< ref "/" >}}) on this site uses the custom layo All homepage layouts have the option of displaying recent articles below the main page content. To enable this, simply set the `homepage.showRecent` setting to `true` in the `params.toml` configuration file. - +{{< figure src="img/home-list.png" class="thumbnailshadow" >}} The articles listed in this section are derived from the `mainSections` setting which allows for whatever content types you are using on your website. For instance, if you had content sections for _posts_ and _projects_ you could set this setting to `["posts", "projects"]` and all the articles in these two sections would be used to populate the recent list. The theme expects this setting to be an array so if you only use one section for all your content, you should set this accordingly: `["blog"]`. diff --git a/exampleSite/content/docs/homepage-layout/index.zh-cn.md b/exampleSite/content/docs/homepage-layout/index.zh-cn.md index a09fd262..c7bb5370 100644 --- a/exampleSite/content/docs/homepage-layout/index.zh-cn.md +++ b/exampleSite/content/docs/homepage-layout/index.zh-cn.md @@ -17,7 +17,7 @@ Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主 默认的布局是 profile 布局,这非常适合个人网站和博客。它将作者的详细信息置于中心位置,并附带了头像和社交平台的链接。 - +{{< figure src="img/home-profile.png" class="thumbnailshadow" >}} 作者信息是在语言配置文件中提供的。具体的参数详情,请参考[快速入门]({{< ref "getting-started" >}})和[语言配置]({{< ref "configuration##language-and-i18n" >}})的内容。 @@ -29,7 +29,7 @@ Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主 页面布局只会简单的显示你的 Markdown 内容,这种方式非常适合静态网站,并提供了很多灵活性。 - +{{< figure src="img/home-page.png" class="thumbnailshadow" >}} 如果想要启用 page 布局,请在 `params.toml` 配置文件中设置 `homepage.layout = "page"`。 @@ -37,7 +37,7 @@ Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主 英雄布局(hero)组合了个人资料布局(profile)和卡片布局(card)。它不仅显示了网站作者的个人信息,还在个人资料下方加载了你的 markdown 内容。 - +{{< figure src="img/home-hero.png" class="thumbnailshadow" >}} 如果想要启用 hero 布局,请在 `params.toml` 配置文件中设置 `homepage.layout = "hero"`。 @@ -45,7 +45,7 @@ Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主 背景布局(background)相对于英雄布局(hero)更叫平滑。和英雄布局(hero)类似,它也显示了网站作者的信息,并在其下方加载 markdown 内容。 - +{{< figure src="img/home-background.png" class="thumbnailshadow" >}} 如果想要启用 background 布局,请在 `params.toml` 配置文件中设置 `homepage.layout = "background"` 和 `homepage.homepageImage` 。 @@ -53,7 +53,7 @@ Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主 卡片模板(card)是在页面布局上的扩展,它同样提供了灵活性。在显示了你的 markdown 内容的同时,展示了一个卡片组件中的图像。 - +{{< figure src="img/home-card.png" class="thumbnailshadow" >}} 如果想要启用 card 布局,请在 `params.toml` 配置文件中设置 `homepage.layout = "card"` 和 `homepage.homepageImage` 。 @@ -73,7 +73,7 @@ Blowfish 提供了一个完全灵活的主页布局。你可以选择两种主 所有的主页布局都可以在主要内容下方显示最近文章。如果想要启用此功能,只需要在 `params.toml` 配置文件中将 `homepage.showRecent` 参数设置为 `true` 即可。 - +{{< figure src="img/home-list.png" class="thumbnailshadow" >}} 这部分会列举出你在 `mainSections` 参数中设置的文章列表,此参数允许你使用网站上的任何内容类型。例如,如果你想在最新文章中展示 _posts_ 和 _projects_ 内容中的文章,你可以将此值设置为 `["posts", "projects"]`,这两个部分中的所有文章都会填充到最近文章列表中。Blowfish 主题期望这个参数是一个数组,如果你只想设置一个部分的所有文章,你可以设置为 `["blog"]` 即可。 diff --git a/exampleSite/content/docs/welcome/index.it.md b/exampleSite/content/docs/welcome/index.it.md index 9abd448b..d95295f7 100644 --- a/exampleSite/content/docs/welcome/index.it.md +++ b/exampleSite/content/docs/welcome/index.it.md @@ -24,7 +24,7 @@ Tailwind CSS è il cuore di Blowfish e questa versione contiene l'ultima [Tailwi Blowfish è ora multilingue! Una funzionalità molto richiesta. Se pubblichi i tuoi contenuti in più lingue, il sito verrà realizzato con tutte le traduzioni disponibili. -
:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:
+
🇬🇧 🇩🇪 🇫🇷 🇪🇸 🇨🇳 🇧🇷 🇹🇷 🇧🇩
Grazie ai contributi della community, Blowfish è già stato tradotto in [trenta lingue](https://github.com/nunocoracao/blowfish/tree/main/i18n) e altre verranno aggiunte nel tempo. A proposito, le [richieste pull](https://github.com/nunocoracao/blowfish/pulls) per nuove lingue sono sempre benvenute! diff --git a/exampleSite/content/docs/welcome/index.zh-cn.md b/exampleSite/content/docs/welcome/index.zh-cn.md index 83341749..3b8e547f 100644 --- a/exampleSite/content/docs/welcome/index.zh-cn.md +++ b/exampleSite/content/docs/welcome/index.zh-cn.md @@ -27,7 +27,7 @@ Tailwind CSS 带来了性能优化,并提供了一些出色的新的 CSS 特 这是一个高频需求,Blowfish 现在支持多语言! 如果你使用多语言发布你的内容,网站将会构建包含所有可用翻译的版本。 -
:gb: :de: :fr: :es: :cn: :brazil: :tr: :bangladesh:
+
🇬🇧 🇩🇪 🇫🇷 🇪🇸 🇨🇳 🇧🇷 🇹🇷 🇧🇩
感谢社区的贡献,目前 Blowfish 已经翻译成三十种语言,并且随着时间的推移还会支持更多。 顺便一提,欢迎你为支持新语言提交 [PR](https://github.com/nunocoracao/blowfish/pulls)。 From 45c5ddbdafb9b418bdacae30089e08e3987531d4 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 7 May 2025 19:26:41 +0800 Subject: [PATCH 25/63] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20prevent=20header=20?= =?UTF-8?q?from=20blocking=20footnotes=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 3 +++ assets/css/main.css | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 817ee1e9..feb7ba97 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -3844,6 +3844,9 @@ pre { height: 0px; visibility: hidden; } +[id^="fn"], [id^="fnref"] { + scroll-margin-top: 92px; +} @screen sm { .thumbnail { min-width: 100%; diff --git a/assets/css/main.css b/assets/css/main.css index d03c0015..8c72ef89 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -424,6 +424,11 @@ pre { visibility: hidden; } +/* Offset scroll position to avoid header overlap */ +[id^="fn"], [id^="fnref"] { + scroll-margin-top: 92px; +} + @screen sm { .thumbnail { min-width: 100%; From 3081c5f1d166903143f8203d53753d3cf81b3f96 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 7 May 2025 20:42:40 +0800 Subject: [PATCH 26/63] =?UTF-8?q?=F0=9F=93=9D=20Docs:=20correct=20timeline?= =?UTF-8?q?=20in=20Chinese=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/shortcodes/index.zh-cn.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/exampleSite/content/docs/shortcodes/index.zh-cn.md b/exampleSite/content/docs/shortcodes/index.zh-cn.md index 28593c55..d658f9bd 100644 --- a/exampleSite/content/docs/shortcodes/index.zh-cn.md +++ b/exampleSite/content/docs/shortcodes/index.zh-cn.md @@ -679,17 +679,17 @@ With other shortcodes {{< timelineItem icon="github" header="header" badge="badge test" subheader="subheader" >}} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non magna ex. Donec sollicitudin ut lorem quis lobortis. Nam ac ipsum libero. Sed a ex eget ipsum tincidunt venenatis quis sed nisl. Pellentesque sed urna vel odio consequat tincidunt id ut purus. Nam sollicitudin est sed dui interdum rhoncus. -{{}} +{{< /timelineItem >}} -{{< timelineItem icon="code" header="Another Awesome Header" badge="date - present" subheader="Awesome Subheader">}} +{{< timelineItem icon="code" header="Another Awesome Header" badge="date - present" subheader="Awesome Subheader" >}} With html code
  • Coffee
  • Tea
  • Milk
-{{}} +{{< /timelineItem >}} {{< timelineItem icon="star" header="Shortcodes" badge="AWESOME" >}} With other shortcodes @@ -702,12 +702,13 @@ With other shortcodes {{< /gallery >}} +{{< /timelineItem >}} + {{< timelineItem icon="code" header="Another Awesome Header">}} {{< github repo="nunocoracao/blowfish" >}} -{{}} -{{}} +{{< /timelineItem >}} -{{}} +{{< /timeline >}}


From ea7b69f4e6030974b829d1adb8aa74bd9dd6687c Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 7 May 2025 23:43:50 +0800 Subject: [PATCH 27/63] =?UTF-8?q?=F0=9F=A9=B9=20Chore:=20tweak=20processUs?= =?UTF-8?q?ers.js=20to=20reduce=20feature=20image=20size=20(#980)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While we can't rewrite history, we can at least slow its growth. WebP with lower quality settings gives about 2x size reduction with acceptable visual results. --- processUsers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processUsers.js b/processUsers.js index 8f8ef7ed..24972e94 100644 --- a/processUsers.js +++ b/processUsers.js @@ -140,7 +140,7 @@ puppeteer fs.writeFileSync(dir + '/index.' + targetLangs[j] + '.md', content); } await page.goto(users[i].url); - await page.screenshot({ path: dir + "/feature.jpg" }); + await page.screenshot({ path: dir + "/feature.jpg", type: 'webp', quality: 50, }); } } From 6281f6661d9fa230f5cb886c7314f2dd8bbf5b73 Mon Sep 17 00:00:00 2001 From: "Lin, Chiang-Yu" <110763842+RxChi1d@users.noreply.github.com> Date: Thu, 8 May 2025 03:21:33 +0800 Subject: [PATCH 28/63] Enable Goldmark passthrough extension for math rendering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In Hugo v0.132.0, the Goldmark passthrough extension was introduced to preserve raw Markdown text within designated delimiters, ensuring that MathJax or KaTeX can render formulas correctly. With this configuration in place, you no longer need to manually escape characters inside math expressions (for example, \\ → \\\\ or x_y → x\_y). According the official document of Hugo: - [mathematics/#step-1](https://gohugo.io/content-management/mathematics/#step-1) - [Passthrough render hooks](https://gohugo.io/render-hooks/passthrough/) --- config/_default/hugo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 85d63a1a..6100a56c 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -67,3 +67,12 @@ enableEmoji = true name = 'fragmentrefs' type = 'fragments' weight = 10 + +[markup] + [markup.goldmark] + [markup.goldmark.extensions] + [markup.goldmark.extensions.passthrough] + enable = true + [markup.goldmark.extensions.passthrough.delimiters] + block = [['\[', '\]'], ['$$', '$$']] + inline = [['\(', '\)']] From c705186e41c2f8876e6a19e0a7bc7e1e7bed1264 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 11 May 2025 18:11:24 +0800 Subject: [PATCH 29/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20footer=20not=20expa?= =?UTF-8?q?nd=20in=20zen-mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/zen-mode.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/js/zen-mode.js b/assets/js/zen-mode.js index bd6d5ee0..d2c38992 100644 --- a/assets/js/zen-mode.js +++ b/assets/js/zen-mode.js @@ -1,6 +1,7 @@ function _toogleZenMode(zendModeButton) { // Nodes selection const body = document.querySelector('body'); + const footer = document.querySelector('footer'); const tocRight = document.querySelector('.toc-right'); const tocInside = document.querySelector('.toc-inside'); const articleContent = document.querySelector('.article-content'); @@ -20,9 +21,11 @@ function _toogleZenMode(zendModeButton) { articleContent.classList.toggle('max-w-fit'); articleContent.classList.toggle('max-w-prose'); - // Change width of article title + // Change width of article title and footer header.classList.toggle('max-w-full'); header.classList.toggle('max-w-prose'); + footer.classList.toggle('max-w-full'); + footer.classList.toggle('max-w-prose'); // Read i18n title from data-attributes const titleI18nDisable = zendModeButton.getAttribute('data-title-i18n-disable'); From 61fcafc3198dd2f10729e80511efa818cfb5ae1a Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 11 May 2025 21:18:05 +0800 Subject: [PATCH 30/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20article=20shortcode?= =?UTF-8?q?=20across=20languages=20(#2130)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/shortcodes/article.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/layouts/shortcodes/article.html b/layouts/shortcodes/article.html index 68d74e71..393529a4 100644 --- a/layouts/shortcodes/article.html +++ b/layouts/shortcodes/article.html @@ -1,9 +1,10 @@ +{{ $link := .Get "link" }} {{ $parent := .Page.RelPermalink }} -
- {{ $RelPermalink := .Get "link" }} - {{ range ( where .Site.RegularPages "RelPermalink" $RelPermalink | first 1 ) }} - {{ if not (eq .RelPermalink $parent) }} - {{ partial "article-link/simple.html" . }} - {{ end }} - {{end}} -
\ No newline at end of file +{{ with first 1 (where .Site.AllPages "RelPermalink" $link) }} + {{ $target := index . 0 }} + {{ if ne $target.RelPermalink $parent }} +
+ {{ partial "article-link/simple.html" $target }} +
+ {{ end }} +{{ end }} \ No newline at end of file From 49ec3b5a01874d6cc67e95a7bd1333400c93232b Mon Sep 17 00:00:00 2001 From: Tim Cappalli Date: Sun, 11 May 2025 14:57:19 -0400 Subject: [PATCH 31/63] showCategoryOnly config --- layouts/partials/article-meta/basic.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/layouts/partials/article-meta/basic.html b/layouts/partials/article-meta/basic.html index 6bf60596..307ca0a3 100644 --- a/layouts/partials/article-meta/basic.html +++ b/layouts/partials/article-meta/basic.html @@ -96,4 +96,15 @@
{{ end }} +{{/* Output only category */}} +{{ if .Params.showCategoryOnly | default (.Site.Params.article.showCategoryOnly | default false) }} +
+ {{ range (.GetTerms "categories") }} + + {{ partial "badge.html" .LinkTitle }} + +{{ end }} +
+{{ end }} + {{ end }} From 5a9e92d81b8f893f7dfc939f4fa7d7562042b450 Mon Sep 17 00:00:00 2001 From: Tim Cappalli Date: Sun, 11 May 2025 14:58:20 -0400 Subject: [PATCH 32/63] Add showCategoryOnly to params --- config/_default/params.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 0803aea5..ddf32fa8 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -77,7 +77,8 @@ forgejoDefaultServer = "https://v8.next.forgejo.org" showTableOfContents = false # showRelatedContent = false # relatedContentLimit = 3 - showTaxonomies = false + showTaxonomies = false # use showTaxonomies OR showCategoryOnly, not both + showCategoryOnly = false # use showTaxonomies OR showCategoryOnly, not both showAuthorsBadges = false showWordCount = true # sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"] @@ -164,4 +165,4 @@ forgejoDefaultServer = "https://v8.next.forgejo.org" [rssnext] # feedId = "" - # userId = "" \ No newline at end of file + # userId = "" From 8fe07b555041b434ba51117559cc81d11f649b05 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Mon, 12 May 2025 22:47:16 +0800 Subject: [PATCH 33/63] chore: tweak distance for context --- assets/css/compiled/main.css | 5 ++++- assets/css/main.css | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index feb7ba97..dce3d9be 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1344,6 +1344,9 @@ body.zen-mode-enable { .shrink-0 { flex-shrink: 0; } + .flex-grow { + flex-grow: 1; + } .grow { flex-grow: 1; } @@ -3845,7 +3848,7 @@ pre { visibility: hidden; } [id^="fn"], [id^="fnref"] { - scroll-margin-top: 92px; + scroll-margin-top: 145px; } @screen sm { .thumbnail { diff --git a/assets/css/main.css b/assets/css/main.css index 8c72ef89..8d8a05ba 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -426,7 +426,7 @@ pre { /* Offset scroll position to avoid header overlap */ [id^="fn"], [id^="fnref"] { - scroll-margin-top: 92px; + scroll-margin-top: 145px; } @screen sm { From a8f016cce3b122484357fd8183e3f128ec00e5c8 Mon Sep 17 00:00:00 2001 From: nunocoracao <3803196+nunocoracao@users.noreply.github.com> Date: Tue, 13 May 2025 06:06:38 +0000 Subject: [PATCH 34/63] 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 e3c7bd62..1bd2ff3f 100644 --- a/config.toml +++ b/config.toml @@ -2,4 +2,4 @@ [module.hugoVersion] extended = true min = "0.87.0" -max = "0.147.1" \ No newline at end of file +max = "0.147.3" \ No newline at end of file diff --git a/release-versions/hugo-latest.txt b/release-versions/hugo-latest.txt index e79ab786..52cf2976 100644 --- a/release-versions/hugo-latest.txt +++ b/release-versions/hugo-latest.txt @@ -1 +1 @@ -v0.147.1 +v0.147.3 From 6f57e6998545865686ccce5f3268b75392f55725 Mon Sep 17 00:00:00 2001 From: kyo_123 <97147686+alpacayarn@users.noreply.github.com> Date: Tue, 13 May 2025 17:39:03 +0800 Subject: [PATCH 35/63] Add Kyo's Garden to users list --- exampleSite/content/users/users.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/exampleSite/content/users/users.json b/exampleSite/content/users/users.json index 21256e25..c4b7b78c 100644 --- a/exampleSite/content/users/users.json +++ b/exampleSite/content/users/users.json @@ -889,5 +889,14 @@ "Personal Site", "Blog" ] + }, + { + "title": "Kyo's Garden", + "url": "https://heykyo.com", + "source": "n/a", + "tags": [ + "Personal Site", + "Blog" + ] } ] \ No newline at end of file From 5ba591bf0e913b7744f9987716cec61d3f5a9e30 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 May 2025 05:08:39 +0000 Subject: [PATCH 36/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20puppeteer=20from=20?= =?UTF-8?q?24.7.2=20to=2024.8.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.7.2 to 24.8.2. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.7.2...puppeteer-v24.8.2) --- updated-dependencies: - dependency-name: puppeteer dependency-version: 24.8.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 82 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/package-lock.json b/package-lock.json index 36362c44..e5c6050f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hugo-blowfish-theme", - "version": "2.85.0", + "version": "2.86.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hugo-blowfish-theme", - "version": "2.85.0", + "version": "2.86.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -30,7 +30,7 @@ "prettier": "^3.5.3", "prettier-plugin-go-template": "^0.0.15", "prettier-plugin-tailwindcss": "^0.6.11", - "puppeteer": "^24.7.2", + "puppeteer": "^24.8.2", "rimraf": "^6.0.1", "tailwind-scrollbar": "^4.0.2", "tailwindcss": "^4.0.16", @@ -622,9 +622,9 @@ } }, "node_modules/@puppeteer/browsers": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.2.tgz", - "integrity": "sha512-i4Ez+s9oRWQbNjtI/3+jxr7OH508mjAKvza0ekPJem0ZtmsYHP3B5dq62+IaBHKaGCOuqJxXzvFLUhJvQ6jtsQ==", + "version": "2.10.4", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.4.tgz", + "integrity": "sha512-9DxbZx+XGMNdjBynIs4BRSz+M3iRDeB7qRcAr6UORFLphCIM2x3DXgOucvADiifcqCE4XePFUKcnaAMyGbrDlQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -1381,9 +1381,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.15.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz", - "integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==", + "version": "22.15.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.18.tgz", + "integrity": "sha512-v1DKRfUdyW+jJhZNEI1PYy29S2YRxMV5AOO/x/SjKmW0acCIOqmbj6Haf9eHAhsPmrhlHSxEhv/1WszcLWV4cg==", "dev": true, "license": "MIT", "optional": true, @@ -1511,9 +1511,9 @@ "optional": true }, "node_modules/bare-fs": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.1.3.tgz", - "integrity": "sha512-OeEZYIg+2qepaWLyphaOXHAHKo3xkM8y3BeGAvHdMN8GNWvEAU1Yw6rYpGzu/wDDbKxgEjVeVDpgGhDzaeMpjg==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.1.5.tgz", + "integrity": "sha512-1zccWBMypln0jEE05LzZt+V/8y8AQsQQqxtklqaIyg5nu6OAYFhZxPXinJTSG+kU5qyNmeLgcn9AW7eHiCHVLA==", "dev": true, "license": "Apache-2.0", "optional": true, @@ -1713,9 +1713,9 @@ } }, "node_modules/chromium-bidi": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-4.1.1.tgz", - "integrity": "sha512-biR7t4vF3YluE6RlMSk9IWk+b9U+WWyzHp+N2pL9vRTk+UXHYRTVp7jTK58ZNzMLBgoLMHY4QyJMbeuw3eKxqg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-5.1.0.tgz", + "integrity": "sha512-9MSRhWRVoRPDG0TgzkHrshFSJJNZzfY5UFqUMuksg7zL1yoZIZ3jLB0YAgHclbiAxPI86pBnwDX1tbzoiV8aFw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2510,9 +2510,9 @@ } }, "node_modules/devtools-protocol": { - "version": "0.0.1425554", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1425554.tgz", - "integrity": "sha512-uRfxR6Nlzdzt0ihVIkV+sLztKgs7rgquY/Mhcv1YNCWDh5IZgl5mnn2aeEnW5stYTE0wwiF4RYVz8eMEpV1SEw==", + "version": "0.0.1439962", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1439962.tgz", + "integrity": "sha512-jJF48UdryzKiWhJ1bLKr7BFWUQCEIT5uCNbDLqkQJBtkFxYzILJH44WN0PDKMIlGDN7Utb8vyUY85C3w4R/t2g==", "dev": true, "license": "BSD-3-Clause" }, @@ -4019,18 +4019,18 @@ } }, "node_modules/puppeteer": { - "version": "24.7.2", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.7.2.tgz", - "integrity": "sha512-ifYqoY6wGs0yZeFuFPn8BE9FhuveXkarF+eO18I2e/axdoCh4Qh1AE+qXdJBhdaeoPt6eRNTY4Dih29Jbq8wow==", + "version": "24.8.2", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.8.2.tgz", + "integrity": "sha512-Sn6SBPwJ6ASFvQ7knQkR+yG7pcmr4LfXzmoVp3NR0xXyBbPhJa8a8ybtb6fnw1g/DD/2t34//yirubVczko37w==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.10.2", - "chromium-bidi": "4.1.1", + "@puppeteer/browsers": "2.10.4", + "chromium-bidi": "5.1.0", "cosmiconfig": "^9.0.0", - "devtools-protocol": "0.0.1425554", - "puppeteer-core": "24.7.2", + "devtools-protocol": "0.0.1439962", + "puppeteer-core": "24.8.2", "typed-query-selector": "^2.12.0" }, "bin": { @@ -4041,18 +4041,18 @@ } }, "node_modules/puppeteer-core": { - "version": "24.7.2", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.7.2.tgz", - "integrity": "sha512-P9pZyTmJqKODFCnkZgemCpoFA4LbAa8+NumHVQKyP5X9IgdNS1ZnAnIh1sMAwhF8/xEUGf7jt+qmNLlKieFw1Q==", + "version": "24.8.2", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.8.2.tgz", + "integrity": "sha512-wNw5cRZOHiFibWc0vdYCYO92QuKTbJ8frXiUfOq/UGJWMqhPoBThTKkV+dJ99YyWfzJ2CfQQ4T1nhhR0h8FlVw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.10.2", - "chromium-bidi": "4.1.1", + "@puppeteer/browsers": "2.10.4", + "chromium-bidi": "5.1.0", "debug": "^4.4.0", - "devtools-protocol": "0.0.1425554", + "devtools-protocol": "0.0.1439962", "typed-query-selector": "^2.12.0", - "ws": "^8.18.1" + "ws": "^8.18.2" }, "engines": { "node": ">=18" @@ -4178,9 +4178,9 @@ } }, "node_modules/semver": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", - "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", "dev": true, "license": "ISC", "bin": { @@ -4792,9 +4792,9 @@ "license": "ISC" }, "node_modules/ws": { - "version": "8.18.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.1.tgz", - "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==", + "version": "8.18.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz", + "integrity": "sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==", "dev": true, "license": "MIT", "engines": { @@ -4909,9 +4909,9 @@ } }, "node_modules/zod": { - "version": "3.24.3", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.3.tgz", - "integrity": "sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg==", + "version": "3.24.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.4.tgz", + "integrity": "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==", "dev": true, "license": "MIT", "funding": { diff --git a/package.json b/package.json index 81cd90a7..f9780c6c 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "prettier": "^3.5.3", "prettier-plugin-go-template": "^0.0.15", "prettier-plugin-tailwindcss": "^0.6.11", - "puppeteer": "^24.7.2", + "puppeteer": "^24.8.2", "rimraf": "^6.0.1", "tailwind-scrollbar": "^4.0.2", "tailwindcss": "^4.0.16", From cc14bed6a125dd98a832757143e7a5db547b90ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 May 2025 05:09:01 +0000 Subject: [PATCH 37/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20@headlessui/react?= =?UTF-8?q?=20from=202.2.2=20to=202.2.3?= 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.2.2 to 2.2.3. - [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.2.3/packages/@headlessui-react) --- updated-dependencies: - dependency-name: "@headlessui/react" dependency-version: 2.2.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 118 +++++++++++++++++++++++++++------------------- package.json | 2 +- 2 files changed, 71 insertions(+), 49 deletions(-) diff --git a/package-lock.json b/package-lock.json index 36362c44..c3958120 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "hugo-blowfish-theme", - "version": "2.85.0", + "version": "2.86.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hugo-blowfish-theme", - "version": "2.85.0", + "version": "2.86.0", "hasInstallScript": true, "license": "MIT", "dependencies": { - "@headlessui/react": "^2.2.2", + "@headlessui/react": "^2.2.3", "@heroicons/react": "^2.2.0", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.10", @@ -206,14 +206,14 @@ "integrity": "sha512-XGndio0l5/Gvd6CLIABvsav9HHezgDFFhDfHk1bvLfr9ni8dojqLSvBbotJEjmIwNHL7vK4QzBJTdBRoB+c1ww==" }, "node_modules/@headlessui/react": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.2.tgz", - "integrity": "sha512-zbniWOYBQ8GHSUIOPY7BbdIn6PzUOq0z41RFrF30HbjsxG6Rrfk+6QulR8Kgf2Vwj2a/rE6i62q5vo+2gI5dJA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.3.tgz", + "integrity": "sha512-hgOJGXPifPlOczIeSwX8OjLWRJ5XdYApZFf7DeCbCrO1PXHkPhNTRrA9ZwJsgAG7SON1i2JcvIreF/kbgtJeaQ==", "license": "MIT", "dependencies": { "@floating-ui/react": "^0.26.16", - "@react-aria/focus": "^3.17.1", - "@react-aria/interactions": "^3.21.3", + "@react-aria/focus": "^3.20.2", + "@react-aria/interactions": "^3.25.0", "@tanstack/react-virtual": "^3.13.6", "use-sync-external-store": "^1.5.0" }, @@ -644,38 +644,44 @@ } }, "node_modules/@react-aria/focus": { - "version": "3.17.1", - "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.17.1.tgz", - "integrity": "sha512-FLTySoSNqX++u0nWZJPPN5etXY0WBxaIe/YuL/GTEeuqUIuC/2bJSaw5hlsM6T2yjy6Y/VAxBcKSdAFUlU6njQ==", + "version": "3.20.2", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.20.2.tgz", + "integrity": "sha512-Q3rouk/rzoF/3TuH6FzoAIKrl+kzZi9LHmr8S5EqLAOyP9TXIKG34x2j42dZsAhrw7TbF9gA8tBKwnCNH4ZV+Q==", + "license": "Apache-2.0", "dependencies": { - "@react-aria/interactions": "^3.21.3", - "@react-aria/utils": "^3.24.1", - "@react-types/shared": "^3.23.1", + "@react-aria/interactions": "^3.25.0", + "@react-aria/utils": "^3.28.2", + "@react-types/shared": "^3.29.0", "@swc/helpers": "^0.5.0", "clsx": "^2.0.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", + "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-aria/interactions": { - "version": "3.21.3", - "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.21.3.tgz", - "integrity": "sha512-BWIuf4qCs5FreDJ9AguawLVS0lV9UU+sK4CCnbCNNmYqOWY+1+gRXCsnOM32K+oMESBxilAjdHW5n1hsMqYMpA==", + "version": "3.25.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.25.0.tgz", + "integrity": "sha512-GgIsDLlO8rDU/nFn6DfsbP9rfnzhm8QFjZkB9K9+r+MTSCn7bMntiWQgMM+5O6BiA8d7C7x4zuN4bZtc0RBdXQ==", + "license": "Apache-2.0", "dependencies": { - "@react-aria/ssr": "^3.9.4", - "@react-aria/utils": "^3.24.1", - "@react-types/shared": "^3.23.1", + "@react-aria/ssr": "^3.9.8", + "@react-aria/utils": "^3.28.2", + "@react-stately/flags": "^3.1.1", + "@react-types/shared": "^3.29.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", + "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-aria/ssr": { - "version": "3.9.4", - "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.4.tgz", - "integrity": "sha512-4jmAigVq409qcJvQyuorsmBR4+9r3+JEC60wC+Y0MZV0HCtTmm8D9guYXlJMdx0SSkgj0hHAyFm/HvPNFofCoQ==", + "version": "3.9.8", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.8.tgz", + "integrity": "sha512-lQDE/c9uTfBSDOjaZUJS8xP2jCKVk4zjQeIlCH90xaLhHDgbpCdns3xvFpJJujfj3nI4Ll9K7A+ONUBDCASOuw==", + "license": "Apache-2.0", "dependencies": { "@swc/helpers": "^0.5.0" }, @@ -683,49 +689,64 @@ "node": ">= 12" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-aria/utils": { - "version": "3.24.1", - "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.24.1.tgz", - "integrity": "sha512-O3s9qhPMd6n42x9sKeJ3lhu5V1Tlnzhu6Yk8QOvDuXf7UGuUjXf9mzfHJt1dYzID4l9Fwm8toczBzPM9t0jc8Q==", + "version": "3.28.2", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.28.2.tgz", + "integrity": "sha512-J8CcLbvnQgiBn54eeEvQQbIOfBF3A1QizxMw9P4cl9MkeR03ug7RnjTIdJY/n2p7t59kLeAB3tqiczhcj+Oi5w==", + "license": "Apache-2.0", "dependencies": { - "@react-aria/ssr": "^3.9.4", - "@react-stately/utils": "^3.10.1", - "@react-types/shared": "^3.23.1", + "@react-aria/ssr": "^3.9.8", + "@react-stately/flags": "^3.1.1", + "@react-stately/utils": "^3.10.6", + "@react-types/shared": "^3.29.0", "@swc/helpers": "^0.5.0", "clsx": "^2.0.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", + "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" + } + }, + "node_modules/@react-stately/flags": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@react-stately/flags/-/flags-3.1.1.tgz", + "integrity": "sha512-XPR5gi5LfrPdhxZzdIlJDz/B5cBf63l4q6/AzNqVWFKgd0QqY5LvWJftXkklaIUpKSJkIKQb8dphuZXDtkWNqg==", + "license": "Apache-2.0", + "dependencies": { + "@swc/helpers": "^0.5.0" } }, "node_modules/@react-stately/utils": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.1.tgz", - "integrity": "sha512-VS/EHRyicef25zDZcM/ClpzYMC5i2YGN6uegOeQawmgfGjb02yaCX0F0zR69Pod9m2Hr3wunTbtpgVXvYbZItg==", + "version": "3.10.6", + "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.6.tgz", + "integrity": "sha512-O76ip4InfTTzAJrg8OaZxKU4vvjMDOpfA/PGNOytiXwBbkct2ZeZwaimJ8Bt9W1bj5VsZ81/o/tW4BacbdDOMA==", + "license": "Apache-2.0", "dependencies": { "@swc/helpers": "^0.5.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-types/shared": { - "version": "3.23.1", - "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.23.1.tgz", - "integrity": "sha512-5d+3HbFDxGZjhbMBeFHRQhexMFt4pUce3okyRtUVKbbedQFUrtXSBg9VszgF2RTeQDKDkMCIQDtz5ccP/Lk1gw==", + "version": "3.29.0", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.29.0.tgz", + "integrity": "sha512-IDQYu/AHgZimObzCFdNl1LpZvQW/xcfLt3v20sorl5qRucDVj4S9os98sVTZ4IRIBjmS+MkjqpR5E70xan7ooA==", + "license": "Apache-2.0", "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@swc/helpers": { - "version": "0.5.11", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.11.tgz", - "integrity": "sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A==", + "version": "0.5.17", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz", + "integrity": "sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==", + "license": "Apache-2.0", "dependencies": { - "tslib": "^2.4.0" + "tslib": "^2.8.0" } }, "node_modules/@tailwindcss/cli": { @@ -4515,9 +4536,10 @@ } }, "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" }, "node_modules/tw-elements": { "version": "2.0.0", diff --git a/package.json b/package.json index 81cd90a7..4f9a5f12 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ } ], "dependencies": { - "@headlessui/react": "^2.2.2", + "@headlessui/react": "^2.2.3", "@heroicons/react": "^2.2.0", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.10", From 48e66514f96e4cbab4253986c278c9757aec8578 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 14 May 2025 18:01:45 +0800 Subject: [PATCH 38/63] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20chore?= =?UTF-8?q?:=20add=20options=20for=20faster=20development?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add example:site_core and example:site_core:en_only for faster development We need development/hugo.toml since the segments still renders images. See object graph in https://gohugo.io/configuration/segments/ --- exampleSite/config/_default/hugo.toml | 9 +++++++++ exampleSite/config/development/hugo.toml | 5 +++++ package.json | 4 +++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 exampleSite/config/development/hugo.toml diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index ab7e4623..55333ac5 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -69,3 +69,12 @@ googleAnalytics = "G-PEDMYR1V0K" name = 'fragmentrefs' type = 'fragments' weight = 10 + +# Render only specific parts of the site for faster development. Use: hugo --renderSegments docs_only +[segments] + [segments.site_core] + [[segments.site_core.includes]] + path = '{/,/docs,/docs/**,/samples,/samples/**}' + [segments.en_only] + [[segments.en_only.includes]] + lang = 'en' diff --git a/exampleSite/config/development/hugo.toml b/exampleSite/config/development/hugo.toml new file mode 100644 index 00000000..786a900d --- /dev/null +++ b/exampleSite/config/development/hugo.toml @@ -0,0 +1,5 @@ +# Development configuration. Disable this by running: hugo server -e production +# https://gohugo.io/quick-reference/glossary/#environment + +# Exclude folders containing large numbers of images +ignoreFiles = ['content/guides', 'content/users'] \ No newline at end of file diff --git a/package.json b/package.json index 35c422c1..619f4a3e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "dev-windows": "set NODE_ENV=development&& npx @tailwindcss/cli -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w", "build-windows": "set NODE_ENV=production&& npx @tailwindcss/cli -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit", "build-hugo": "hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL https://nunocoracao.github.io/blowfish/", - "example": "hugo server -E -F --minify --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/ -p 1313", + "example": "hugo server -E -F --minify --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/ -p 1313 -e production", + "example:site_core": "hugo server -E -F --minify --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/ -p 1313 --renderSegments site_core", + "example:site_core:en_only": "hugo server -E -F --minify --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/ -p 1313 --renderSegments site_core,en_only", "lighthouse": "lhci autorun" }, "repository": { From 6b0db754f7d28bfef0612d40e4b83561e79471e9 Mon Sep 17 00:00:00 2001 From: ZhenShuo2021 <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 14 May 2025 20:01:39 +0800 Subject: [PATCH 39/63] chore: fix typo --- exampleSite/config/_default/hugo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index 55333ac5..dcbc6bf9 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -70,7 +70,7 @@ googleAnalytics = "G-PEDMYR1V0K" type = 'fragments' weight = 10 -# Render only specific parts of the site for faster development. Use: hugo --renderSegments docs_only +# Render only specific parts of the site for faster development. Use: hugo --renderSegments site_core [segments] [segments.site_core] [[segments.site_core.includes]] From 3d0b59f413ca686645c3b4436296f2478b6d5384 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Wed, 14 May 2025 20:46:59 +0800 Subject: [PATCH 40/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20katex=20block=20ove?= =?UTF-8?q?rflow=20(#2138)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 7 +++++++ assets/css/main.css | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 817ee1e9..ab9b80f8 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1344,6 +1344,9 @@ body.zen-mode-enable { .shrink-0 { flex-shrink: 0; } + .flex-grow { + flex-grow: 1; + } .grow { flex-grow: 1; } @@ -3610,6 +3613,10 @@ body a, body button { .katex-display { overflow: auto hidden; } +.katex-display { + padding-right: 2px; + width: calc(100% - 2px); +} table { display: block; overflow: auto; diff --git a/assets/css/main.css b/assets/css/main.css index d03c0015..18905d25 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -107,6 +107,12 @@ body button { /* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */ .katex-display { overflow: auto hidden } +/* Fix katex overflow https://github.com/nunocoracao/blowfish/issues/2138 */ +.katex-display { + padding-right: 2px; + width: calc(100% - 2px); +} + /* Fix long tables breaking out of article on mobile */ table { display: block; From 8be58016ae2b6ab13a4645a49a0539517f385fcc Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Thu, 15 May 2025 14:52:06 +0800 Subject: [PATCH 41/63] =?UTF-8?q?=E2=9C=A8=20feat:=20allow=20self-linking?= =?UTF-8?q?=20in=20article=20shortcode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/shortcodes/article.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/layouts/shortcodes/article.html b/layouts/shortcodes/article.html index 393529a4..b85a3ca2 100644 --- a/layouts/shortcodes/article.html +++ b/layouts/shortcodes/article.html @@ -1,10 +1,10 @@ {{ $link := .Get "link" }} -{{ $parent := .Page.RelPermalink }} -{{ with first 1 (where .Site.AllPages "RelPermalink" $link) }} - {{ $target := index . 0 }} - {{ if ne $target.RelPermalink $parent }} -
- {{ partial "article-link/simple.html" $target }} -
- {{ end }} -{{ end }} \ No newline at end of file +{{ $target := .Page }} +{{ if ne $link .Page.RelPermalink }} + {{ $target = index (first 1 (where .Site.AllPages "RelPermalink" $link)) 0 }} +{{ end }} +{{ if $target }} +
+ {{ partial "article-link/simple.html" $target }} +
+{{ end }} From 1784896021908011da0913aed64dc67c814234ad Mon Sep 17 00:00:00 2001 From: papo1011 Date: Sun, 18 May 2025 14:23:44 +0200 Subject: [PATCH 42/63] update users.json --- exampleSite/content/users/users.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/exampleSite/content/users/users.json b/exampleSite/content/users/users.json index 21256e25..f0f4b3ac 100644 --- a/exampleSite/content/users/users.json +++ b/exampleSite/content/users/users.json @@ -889,5 +889,15 @@ "Personal Site", "Blog" ] + }, + { + "title": "blog.francescopapini.com", + "url": "https://blog.francescopapini.com", + "source": "n/a", + "tags": [ + "Technology Blog", + "Personal Site", + "Blog" + ] } ] \ No newline at end of file From 67d893b5ddd4a49b5df2b098f317f88d937879cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 May 2025 15:47:13 +0000 Subject: [PATCH 43/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20tailwindcss=20from?= =?UTF-8?q?=204.1.4=20to=204.1.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.4 to 4.1.6. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/tailwindcss) --- updated-dependencies: - dependency-name: tailwindcss dependency-version: 4.1.6 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 22 ++++++++++++++++++---- package.json | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2d04465b..f99385b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "puppeteer": "^24.8.2", "rimraf": "^6.0.1", "tailwind-scrollbar": "^4.0.2", - "tailwindcss": "^4.0.16", + "tailwindcss": "^4.1.7", "tw-elements": "2.0.0", "typeit": "^8.8.7", "vendor-copy": "^3.0.1" @@ -747,6 +747,13 @@ "tailwindcss": "dist/index.mjs" } }, + "node_modules/@tailwindcss/cli/node_modules/tailwindcss": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.5.tgz", + "integrity": "sha512-nYtSPfWGDiWgCkwQG/m+aX83XCwf62sBgg3bIlNiiOcggnS1x3uVRDAuyelBFL+vJdOPPCGElxv9DjHJjRHiVA==", + "dev": true, + "license": "MIT" + }, "node_modules/@tailwindcss/forms": { "version": "0.5.10", "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.10.tgz", @@ -771,6 +778,13 @@ "tailwindcss": "4.1.5" } }, + "node_modules/@tailwindcss/node/node_modules/tailwindcss": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.5.tgz", + "integrity": "sha512-nYtSPfWGDiWgCkwQG/m+aX83XCwf62sBgg3bIlNiiOcggnS1x3uVRDAuyelBFL+vJdOPPCGElxv9DjHJjRHiVA==", + "dev": true, + "license": "MIT" + }, "node_modules/@tailwindcss/oxide": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.5.tgz", @@ -4433,9 +4447,9 @@ } }, "node_modules/tailwindcss": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.5.tgz", - "integrity": "sha512-nYtSPfWGDiWgCkwQG/m+aX83XCwf62sBgg3bIlNiiOcggnS1x3uVRDAuyelBFL+vJdOPPCGElxv9DjHJjRHiVA==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.7.tgz", + "integrity": "sha512-kr1o/ErIdNhTz8uzAYL7TpaUuzKIE6QPQ4qmSdxnoX/lo+5wmUHQA6h3L5yIqEImSRnAAURDirLu/BgiXGPAhg==", "license": "MIT" }, "node_modules/tapable": { diff --git a/package.json b/package.json index 6de712a8..24cc6b53 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "puppeteer": "^24.8.2", "rimraf": "^6.0.1", "tailwind-scrollbar": "^4.0.2", - "tailwindcss": "^4.0.16", + "tailwindcss": "^4.1.7", "tw-elements": "2.0.0", "typeit": "^8.8.7", "vendor-copy": "^3.0.1" From 0f6d0df82c8d2109527ec1f5f17d4d476dcc3058 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 May 2025 15:48:30 +0000 Subject: [PATCH 44/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20@tailwindcss/cli=20?= =?UTF-8?q?from=204.1.4=20to=204.1.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [@tailwindcss/cli](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-cli) from 4.1.4 to 4.1.6. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/@tailwindcss-cli) --- updated-dependencies: - dependency-name: "@tailwindcss/cli" dependency-version: 4.1.6 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 417 ++++++++++++++++++++++++++++++++-------------- package.json | 2 +- 2 files changed, 295 insertions(+), 124 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1a768cf5..4d2b89c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "commander": "^13.1.0" }, "devDependencies": { - "@tailwindcss/cli": "^4.1.5", + "@tailwindcss/cli": "^4.1.7", "@tailwindcss/typography": "^0.5.16", "chart.js": "^4.4.9", "fuse.js": "^7.1.0", @@ -39,6 +39,20 @@ "vendor-copy": "^3.0.1" } }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/@antfu/install-pkg": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.0.0.tgz", @@ -286,6 +300,72 @@ "node": ">=12" } }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, "node_modules/@kurkle/color": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.1.tgz", @@ -750,31 +830,24 @@ } }, "node_modules/@tailwindcss/cli": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/cli/-/cli-4.1.5.tgz", - "integrity": "sha512-Kr567rDwDjY1VUnfqh5/+DCpRf4B8lPs5O9flP4kri7n4AM2aubrIxGSh5GN8s+awUKw/U4+6kNlEnZbBNfUeg==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/cli/-/cli-4.1.7.tgz", + "integrity": "sha512-hJNjpov/UiJc9ZWH4j/eEQxqklADrD/71s+t8Y0wbyQVAwtLkSp+MeC/sHTb03X+28rfbe0fRXkiBsf73/IwPg==", "dev": true, "license": "MIT", "dependencies": { "@parcel/watcher": "^2.5.1", - "@tailwindcss/node": "4.1.5", - "@tailwindcss/oxide": "4.1.5", + "@tailwindcss/node": "4.1.7", + "@tailwindcss/oxide": "4.1.7", "enhanced-resolve": "^5.18.1", "mri": "^1.2.0", "picocolors": "^1.1.1", - "tailwindcss": "4.1.5" + "tailwindcss": "4.1.7" }, "bin": { "tailwindcss": "dist/index.mjs" } }, - "node_modules/@tailwindcss/cli/node_modules/tailwindcss": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.5.tgz", - "integrity": "sha512-nYtSPfWGDiWgCkwQG/m+aX83XCwf62sBgg3bIlNiiOcggnS1x3uVRDAuyelBFL+vJdOPPCGElxv9DjHJjRHiVA==", - "dev": true, - "license": "MIT" - }, "node_modules/@tailwindcss/forms": { "version": "0.5.10", "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.10.tgz", @@ -787,53 +860,54 @@ } }, "node_modules/@tailwindcss/node": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.5.tgz", - "integrity": "sha512-CBhSWo0vLnWhXIvpD0qsPephiaUYfHUX3U9anwDaHZAeuGpTiB3XmsxPAN6qX7bFhipyGBqOa1QYQVVhkOUGxg==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.7.tgz", + "integrity": "sha512-9rsOpdY9idRI2NH6CL4wORFY0+Q6fnx9XP9Ju+iq/0wJwGD5IByIgFmwVbyy4ymuyprj8Qh4ErxMKTUL4uNh3g==", "dev": true, "license": "MIT", "dependencies": { + "@ampproject/remapping": "^2.3.0", "enhanced-resolve": "^5.18.1", "jiti": "^2.4.2", - "lightningcss": "1.29.2", - "tailwindcss": "4.1.5" + "lightningcss": "1.30.1", + "magic-string": "^0.30.17", + "source-map-js": "^1.2.1", + "tailwindcss": "4.1.7" } }, - "node_modules/@tailwindcss/node/node_modules/tailwindcss": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.5.tgz", - "integrity": "sha512-nYtSPfWGDiWgCkwQG/m+aX83XCwf62sBgg3bIlNiiOcggnS1x3uVRDAuyelBFL+vJdOPPCGElxv9DjHJjRHiVA==", - "dev": true, - "license": "MIT" - }, "node_modules/@tailwindcss/oxide": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.5.tgz", - "integrity": "sha512-1n4br1znquEvyW/QuqMKQZlBen+jxAbvyduU87RS8R3tUSvByAkcaMTkJepNIrTlYhD+U25K4iiCIxE6BGdRYA==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.7.tgz", + "integrity": "sha512-5SF95Ctm9DFiUyjUPnDGkoKItPX/k+xifcQhcqX5RA85m50jw1pT/KzjdvlqxRja45Y52nR4MR9fD1JYd7f8NQ==", "dev": true, + "hasInstallScript": true, "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.4", + "tar": "^7.4.3" + }, "engines": { "node": ">= 10" }, "optionalDependencies": { - "@tailwindcss/oxide-android-arm64": "4.1.5", - "@tailwindcss/oxide-darwin-arm64": "4.1.5", - "@tailwindcss/oxide-darwin-x64": "4.1.5", - "@tailwindcss/oxide-freebsd-x64": "4.1.5", - "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.5", - "@tailwindcss/oxide-linux-arm64-gnu": "4.1.5", - "@tailwindcss/oxide-linux-arm64-musl": "4.1.5", - "@tailwindcss/oxide-linux-x64-gnu": "4.1.5", - "@tailwindcss/oxide-linux-x64-musl": "4.1.5", - "@tailwindcss/oxide-wasm32-wasi": "4.1.5", - "@tailwindcss/oxide-win32-arm64-msvc": "4.1.5", - "@tailwindcss/oxide-win32-x64-msvc": "4.1.5" + "@tailwindcss/oxide-android-arm64": "4.1.7", + "@tailwindcss/oxide-darwin-arm64": "4.1.7", + "@tailwindcss/oxide-darwin-x64": "4.1.7", + "@tailwindcss/oxide-freebsd-x64": "4.1.7", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.7", + "@tailwindcss/oxide-linux-arm64-gnu": "4.1.7", + "@tailwindcss/oxide-linux-arm64-musl": "4.1.7", + "@tailwindcss/oxide-linux-x64-gnu": "4.1.7", + "@tailwindcss/oxide-linux-x64-musl": "4.1.7", + "@tailwindcss/oxide-wasm32-wasi": "4.1.7", + "@tailwindcss/oxide-win32-arm64-msvc": "4.1.7", + "@tailwindcss/oxide-win32-x64-msvc": "4.1.7" } }, "node_modules/@tailwindcss/oxide-android-arm64": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.5.tgz", - "integrity": "sha512-LVvM0GirXHED02j7hSECm8l9GGJ1RfgpWCW+DRn5TvSaxVsv28gRtoL4aWKGnXqwvI3zu1GABeDNDVZeDPOQrw==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.7.tgz", + "integrity": "sha512-IWA410JZ8fF7kACus6BrUwY2Z1t1hm0+ZWNEzykKmMNM09wQooOcN/VXr0p/WJdtHZ90PvJf2AIBS/Ceqx1emg==", "cpu": [ "arm64" ], @@ -848,9 +922,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-arm64": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.5.tgz", - "integrity": "sha512-//TfCA3pNrgnw4rRJOqavW7XUk8gsg9ddi8cwcsWXp99tzdBAZW0WXrD8wDyNbqjW316Pk2hiN/NJx/KWHl8oA==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.7.tgz", + "integrity": "sha512-81jUw9To7fimGGkuJ2W5h3/oGonTOZKZ8C2ghm/TTxbwvfSiFSDPd6/A/KE2N7Jp4mv3Ps9OFqg2fEKgZFfsvg==", "cpu": [ "arm64" ], @@ -865,9 +939,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-x64": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.5.tgz", - "integrity": "sha512-XQorp3Q6/WzRd9OalgHgaqgEbjP3qjHrlSUb5k1EuS1Z9NE9+BbzSORraO+ecW432cbCN7RVGGL/lSnHxcd+7Q==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.7.tgz", + "integrity": "sha512-q77rWjEyGHV4PdDBtrzO0tgBBPlQWKY7wZK0cUok/HaGgbNKecegNxCGikuPJn5wFAlIywC3v+WMBt0PEBtwGw==", "cpu": [ "x64" ], @@ -882,9 +956,9 @@ } }, "node_modules/@tailwindcss/oxide-freebsd-x64": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.5.tgz", - "integrity": "sha512-bPrLWbxo8gAo97ZmrCbOdtlz/Dkuy8NK97aFbVpkJ2nJ2Jo/rsCbu0TlGx8joCuA3q6vMWTSn01JY46iwG+clg==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.7.tgz", + "integrity": "sha512-RfmdbbK6G6ptgF4qqbzoxmH+PKfP4KSVs7SRlTwcbRgBwezJkAO3Qta/7gDy10Q2DcUVkKxFLXUQO6J3CRvBGw==", "cpu": [ "x64" ], @@ -899,9 +973,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.5.tgz", - "integrity": "sha512-1gtQJY9JzMAhgAfvd/ZaVOjh/Ju/nCoAsvOVJenWZfs05wb8zq+GOTnZALWGqKIYEtyNpCzvMk+ocGpxwdvaVg==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.7.tgz", + "integrity": "sha512-OZqsGvpwOa13lVd1z6JVwQXadEobmesxQ4AxhrwRiPuE04quvZHWn/LnihMg7/XkN+dTioXp/VMu/p6A5eZP3g==", "cpu": [ "arm" ], @@ -916,9 +990,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.5.tgz", - "integrity": "sha512-dtlaHU2v7MtdxBXoqhxwsWjav7oim7Whc6S9wq/i/uUMTWAzq/gijq1InSgn2yTnh43kR+SFvcSyEF0GCNu1PQ==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.7.tgz", + "integrity": "sha512-voMvBTnJSfKecJxGkoeAyW/2XRToLZ227LxswLAwKY7YslG/Xkw9/tJNH+3IVh5bdYzYE7DfiaPbRkSHFxY1xA==", "cpu": [ "arm64" ], @@ -933,9 +1007,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-musl": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.5.tgz", - "integrity": "sha512-fg0F6nAeYcJ3CriqDT1iVrqALMwD37+sLzXs8Rjy8Z1ZHshJoYceodfyUwGJEsQoTyWbliFNRs2wMQNXtT7MVA==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.7.tgz", + "integrity": "sha512-PjGuNNmJeKHnP58M7XyjJyla8LPo+RmwHQpBI+W/OxqrwojyuCQ+GUtygu7jUqTEexejZHr/z3nBc/gTiXBj4A==", "cpu": [ "arm64" ], @@ -950,9 +1024,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-gnu": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.5.tgz", - "integrity": "sha512-SO+F2YEIAHa1AITwc8oPwMOWhgorPzzcbhWEb+4oLi953h45FklDmM8dPSZ7hNHpIk9p/SCZKUYn35t5fjGtHA==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.7.tgz", + "integrity": "sha512-HMs+Va+ZR3gC3mLZE00gXxtBo3JoSQxtu9lobbZd+DmfkIxR54NO7Z+UQNPsa0P/ITn1TevtFxXTpsRU7qEvWg==", "cpu": [ "x64" ], @@ -967,9 +1041,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-musl": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.5.tgz", - "integrity": "sha512-6UbBBplywkk/R+PqqioskUeXfKcBht3KU7juTi1UszJLx0KPXUo10v2Ok04iBJIaDPkIFkUOVboXms5Yxvaz+g==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.7.tgz", + "integrity": "sha512-MHZ6jyNlutdHH8rd+YTdr3QbXrHXqwIhHw9e7yXEBcQdluGwhpQY2Eku8UZK6ReLaWtQ4gijIv5QoM5eE+qlsA==", "cpu": [ "x64" ], @@ -984,9 +1058,9 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.5.tgz", - "integrity": "sha512-hwALf2K9FHuiXTPqmo1KeOb83fTRNbe9r/Ixv9ZNQ/R24yw8Ge1HOWDDgTdtzntIaIUJG5dfXCf4g9AD4RiyhQ==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.7.tgz", + "integrity": "sha512-ANaSKt74ZRzE2TvJmUcbFQ8zS201cIPxUDm5qez5rLEwWkie2SkGtA4P+GPTj+u8N6JbPrC8MtY8RmJA35Oo+A==", "bundleDependencies": [ "@napi-rs/wasm-runtime", "@emnapi/core", @@ -1074,9 +1148,9 @@ "optional": true }, "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.5.tgz", - "integrity": "sha512-oDKncffWzaovJbkuR7/OTNFRJQVdiw/n8HnzaCItrNQUeQgjy7oUiYpsm9HUBgpmvmDpSSbGaCa2Evzvk3eFmA==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.7.tgz", + "integrity": "sha512-HUiSiXQ9gLJBAPCMVRk2RT1ZrBjto7WvqsPBwUrNK2BcdSxMnk19h4pjZjI7zgPhDxlAbJSumTC4ljeA9y0tEw==", "cpu": [ "arm64" ], @@ -1091,9 +1165,9 @@ } }, "node_modules/@tailwindcss/oxide-win32-x64-msvc": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.5.tgz", - "integrity": "sha512-WiR4dtyrFdbb+ov0LK+7XsFOsG+0xs0PKZKkt41KDn9jYpO7baE3bXiudPVkTqUEwNfiglCygQHl2jklvSBi7Q==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.7.tgz", + "integrity": "sha512-rYHGmvoHiLJ8hWucSfSOEmdCBIGZIq7SpkPRSqLsH2Ab2YUNgKeAPT1Fi2cx3+hnYOrAb0jp9cRyode3bBW4mQ==", "cpu": [ "x64" ], @@ -1107,6 +1181,16 @@ "node": ">= 10" } }, + "node_modules/@tailwindcss/oxide/node_modules/detect-libc": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, "node_modules/@tailwindcss/typography": { "version": "0.5.16", "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.16.tgz", @@ -1747,6 +1831,16 @@ "chevrotain": "^11.0.0" } }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/chromium-bidi": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-5.1.0.tgz", @@ -3154,9 +3248,9 @@ "dev": true }, "node_modules/lightningcss": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.29.2.tgz", - "integrity": "sha512-6b6gd/RUXKaw5keVdSEtqFVdzWnU5jMxTUjA2bVcMNPLwSQ08Sv/UodBVtETLCn7k4S1Ibxwh7k68IwLZPgKaA==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.1.tgz", + "integrity": "sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==", "dev": true, "license": "MPL-2.0", "dependencies": { @@ -3170,22 +3264,22 @@ "url": "https://opencollective.com/parcel" }, "optionalDependencies": { - "lightningcss-darwin-arm64": "1.29.2", - "lightningcss-darwin-x64": "1.29.2", - "lightningcss-freebsd-x64": "1.29.2", - "lightningcss-linux-arm-gnueabihf": "1.29.2", - "lightningcss-linux-arm64-gnu": "1.29.2", - "lightningcss-linux-arm64-musl": "1.29.2", - "lightningcss-linux-x64-gnu": "1.29.2", - "lightningcss-linux-x64-musl": "1.29.2", - "lightningcss-win32-arm64-msvc": "1.29.2", - "lightningcss-win32-x64-msvc": "1.29.2" + "lightningcss-darwin-arm64": "1.30.1", + "lightningcss-darwin-x64": "1.30.1", + "lightningcss-freebsd-x64": "1.30.1", + "lightningcss-linux-arm-gnueabihf": "1.30.1", + "lightningcss-linux-arm64-gnu": "1.30.1", + "lightningcss-linux-arm64-musl": "1.30.1", + "lightningcss-linux-x64-gnu": "1.30.1", + "lightningcss-linux-x64-musl": "1.30.1", + "lightningcss-win32-arm64-msvc": "1.30.1", + "lightningcss-win32-x64-msvc": "1.30.1" } }, "node_modules/lightningcss-darwin-arm64": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.29.2.tgz", - "integrity": "sha512-cK/eMabSViKn/PG8U/a7aCorpeKLMlK0bQeNHmdb7qUnBkNPnL+oV5DjJUo0kqWsJUapZsM4jCfYItbqBDvlcA==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.30.1.tgz", + "integrity": "sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ==", "cpu": [ "arm64" ], @@ -3204,9 +3298,9 @@ } }, "node_modules/lightningcss-darwin-x64": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.29.2.tgz", - "integrity": "sha512-j5qYxamyQw4kDXX5hnnCKMf3mLlHvG44f24Qyi2965/Ycz829MYqjrVg2H8BidybHBp9kom4D7DR5VqCKDXS0w==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.30.1.tgz", + "integrity": "sha512-k1EvjakfumAQoTfcXUcHQZhSpLlkAuEkdMBsI/ivWw9hL+7FtilQc0Cy3hrx0AAQrVtQAbMI7YjCgYgvn37PzA==", "cpu": [ "x64" ], @@ -3225,9 +3319,9 @@ } }, "node_modules/lightningcss-freebsd-x64": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.29.2.tgz", - "integrity": "sha512-wDk7M2tM78Ii8ek9YjnY8MjV5f5JN2qNVO+/0BAGZRvXKtQrBC4/cn4ssQIpKIPP44YXw6gFdpUF+Ps+RGsCwg==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.30.1.tgz", + "integrity": "sha512-kmW6UGCGg2PcyUE59K5r0kWfKPAVy4SltVeut+umLCFoJ53RdCUWxcRDzO1eTaxf/7Q2H7LTquFHPL5R+Gjyig==", "cpu": [ "x64" ], @@ -3246,9 +3340,9 @@ } }, "node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.29.2.tgz", - "integrity": "sha512-IRUrOrAF2Z+KExdExe3Rz7NSTuuJ2HvCGlMKoquK5pjvo2JY4Rybr+NrKnq0U0hZnx5AnGsuFHjGnNT14w26sg==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.30.1.tgz", + "integrity": "sha512-MjxUShl1v8pit+6D/zSPq9S9dQ2NPFSQwGvxBCYaBYLPlCWuPh9/t1MRS8iUaR8i+a6w7aps+B4N0S1TYP/R+Q==", "cpu": [ "arm" ], @@ -3267,9 +3361,9 @@ } }, "node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.29.2.tgz", - "integrity": "sha512-KKCpOlmhdjvUTX/mBuaKemp0oeDIBBLFiU5Fnqxh1/DZ4JPZi4evEH7TKoSBFOSOV3J7iEmmBaw/8dpiUvRKlQ==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.30.1.tgz", + "integrity": "sha512-gB72maP8rmrKsnKYy8XUuXi/4OctJiuQjcuqWNlJQ6jZiWqtPvqFziskH3hnajfvKB27ynbVCucKSm2rkQp4Bw==", "cpu": [ "arm64" ], @@ -3288,9 +3382,9 @@ } }, "node_modules/lightningcss-linux-arm64-musl": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.29.2.tgz", - "integrity": "sha512-Q64eM1bPlOOUgxFmoPUefqzY1yV3ctFPE6d/Vt7WzLW4rKTv7MyYNky+FWxRpLkNASTnKQUaiMJ87zNODIrrKQ==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.30.1.tgz", + "integrity": "sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==", "cpu": [ "arm64" ], @@ -3309,9 +3403,9 @@ } }, "node_modules/lightningcss-linux-x64-gnu": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.29.2.tgz", - "integrity": "sha512-0v6idDCPG6epLXtBH/RPkHvYx74CVziHo6TMYga8O2EiQApnUPZsbR9nFNrg2cgBzk1AYqEd95TlrsL7nYABQg==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.30.1.tgz", + "integrity": "sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==", "cpu": [ "x64" ], @@ -3330,9 +3424,9 @@ } }, "node_modules/lightningcss-linux-x64-musl": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.29.2.tgz", - "integrity": "sha512-rMpz2yawkgGT8RULc5S4WiZopVMOFWjiItBT7aSfDX4NQav6M44rhn5hjtkKzB+wMTRlLLqxkeYEtQ3dd9696w==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.30.1.tgz", + "integrity": "sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==", "cpu": [ "x64" ], @@ -3351,9 +3445,9 @@ } }, "node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.29.2.tgz", - "integrity": "sha512-nL7zRW6evGQqYVu/bKGK+zShyz8OVzsCotFgc7judbt6wnB2KbiKKJwBE4SGoDBQ1O94RjW4asrCjQL4i8Fhbw==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.30.1.tgz", + "integrity": "sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==", "cpu": [ "arm64" ], @@ -3372,9 +3466,9 @@ } }, "node_modules/lightningcss-win32-x64-msvc": { - "version": "1.29.2", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.29.2.tgz", - "integrity": "sha512-EdIUW3B2vLuHmv7urfzMI/h2fmlnOQBk1xlsDxkN1tCWKjNFjfLhGxYk8C8mzpSfr+A6jFFIi8fU6LbQGsRWjA==", + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.30.1.tgz", + "integrity": "sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg==", "cpu": [ "x64" ], @@ -3477,6 +3571,16 @@ "node": "20 || >=22" } }, + "node_modules/magic-string": { + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, "node_modules/marked": { "version": "15.0.7", "resolved": "https://registry.npmjs.org/marked/-/marked-15.0.7.tgz", @@ -3572,6 +3676,19 @@ "node": ">=16 || 14 >=14.17" } }, + "node_modules/minizlib": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.2.tgz", + "integrity": "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/mitt": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", @@ -3579,6 +3696,22 @@ "dev": true, "license": "MIT" }, + "node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/mlly": { "version": "1.7.4", "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.4.tgz", @@ -4310,6 +4443,16 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/sprintf-js": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", @@ -4474,15 +4617,33 @@ "license": "MIT" }, "node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.2.tgz", + "integrity": "sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==", "dev": true, "license": "MIT", "engines": { "node": ">=6" } }, + "node_modules/tar": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz", + "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/tar-fs": { "version": "3.0.8", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", @@ -4859,6 +5020,16 @@ "node": ">=10" } }, + "node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/yargs": { "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", diff --git a/package.json b/package.json index 511b912c..3bb0b79a 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "homepage": "https://github.com/nunocoracao/blowfish#readme", "devDependencies": { - "@tailwindcss/cli": "^4.1.5", + "@tailwindcss/cli": "^4.1.7", "@tailwindcss/typography": "^0.5.16", "chart.js": "^4.4.9", "fuse.js": "^7.1.0", From b1d1e967c7978d2bfa54d7a475e30ae5a286e73a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 05:53:45 +0000 Subject: [PATCH 45/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20commander=20from=20?= =?UTF-8?q?13.1.0=20to=2014.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [commander](https://github.com/tj/commander.js) from 13.1.0 to 14.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/v13.1.0...v14.0.0) --- updated-dependencies: - dependency-name: commander dependency-version: 14.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d2b89c8..d4278cfd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@heroicons/react": "^2.2.0", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.10", - "commander": "^13.1.0" + "commander": "^14.0.0" }, "devDependencies": { "@tailwindcss/cli": "^4.1.7", @@ -1976,12 +1976,12 @@ "dev": true }, "node_modules/commander": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", - "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.0.tgz", + "integrity": "sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==", "license": "MIT", "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/confbox": { diff --git a/package.json b/package.json index 3bb0b79a..04c41cde 100644 --- a/package.json +++ b/package.json @@ -119,6 +119,6 @@ "@heroicons/react": "^2.2.0", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.10", - "commander": "^13.1.0" + "commander": "^14.0.0" } } \ No newline at end of file From 845e4b3ebbc9642a3b55ebab5535dba45f53d309 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 05:53:56 +0000 Subject: [PATCH 46/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20puppeteer=20from=20?= =?UTF-8?q?24.8.2=20to=2024.9.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.8.2 to 24.9.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.8.2...puppeteer-v24.9.0) --- updated-dependencies: - dependency-name: puppeteer dependency-version: 24.9.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 51 ++++++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d2b89c8..248d2953 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "prettier": "^3.5.3", "prettier-plugin-go-template": "^0.0.15", "prettier-plugin-tailwindcss": "^0.6.11", - "puppeteer": "^24.8.2", + "puppeteer": "^24.9.0", "rimraf": "^6.0.1", "tailwind-scrollbar": "^4.0.2", "tailwindcss": "^4.1.7", @@ -702,17 +702,17 @@ } }, "node_modules/@puppeteer/browsers": { - "version": "2.10.4", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.4.tgz", - "integrity": "sha512-9DxbZx+XGMNdjBynIs4BRSz+M3iRDeB7qRcAr6UORFLphCIM2x3DXgOucvADiifcqCE4XePFUKcnaAMyGbrDlQ==", + "version": "2.10.5", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.5.tgz", + "integrity": "sha512-eifa0o+i8dERnngJwKrfp3dEq7ia5XFyoqB17S4gK8GhsQE4/P8nxOfQSE0zQHxzzLo/cmF+7+ywEQ7wK7Fb+w==", "dev": true, "license": "Apache-2.0", "dependencies": { - "debug": "^4.4.0", + "debug": "^4.4.1", "extract-zip": "^2.0.1", "progress": "^2.0.3", "proxy-agent": "^6.5.0", - "semver": "^7.7.1", + "semver": "^7.7.2", "tar-fs": "^3.0.8", "yargs": "^17.7.2" }, @@ -1500,9 +1500,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.15.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.18.tgz", - "integrity": "sha512-v1DKRfUdyW+jJhZNEI1PYy29S2YRxMV5AOO/x/SjKmW0acCIOqmbj6Haf9eHAhsPmrhlHSxEhv/1WszcLWV4cg==", + "version": "22.15.21", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.21.tgz", + "integrity": "sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==", "dev": true, "license": "MIT", "optional": true, @@ -2579,10 +2579,11 @@ "license": "MIT" }, "node_modules/debug": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.3" }, @@ -4187,18 +4188,18 @@ } }, "node_modules/puppeteer": { - "version": "24.8.2", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.8.2.tgz", - "integrity": "sha512-Sn6SBPwJ6ASFvQ7knQkR+yG7pcmr4LfXzmoVp3NR0xXyBbPhJa8a8ybtb6fnw1g/DD/2t34//yirubVczko37w==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.9.0.tgz", + "integrity": "sha512-L0pOtALIx8rgDt24Y+COm8X52v78gNtBOW6EmUcEPci0TYD72SAuaXKqasRIx4JXxmg2Tkw5ySKcpPOwN8xXnQ==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.10.4", + "@puppeteer/browsers": "2.10.5", "chromium-bidi": "5.1.0", "cosmiconfig": "^9.0.0", "devtools-protocol": "0.0.1439962", - "puppeteer-core": "24.8.2", + "puppeteer-core": "24.9.0", "typed-query-selector": "^2.12.0" }, "bin": { @@ -4209,15 +4210,15 @@ } }, "node_modules/puppeteer-core": { - "version": "24.8.2", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.8.2.tgz", - "integrity": "sha512-wNw5cRZOHiFibWc0vdYCYO92QuKTbJ8frXiUfOq/UGJWMqhPoBThTKkV+dJ99YyWfzJ2CfQQ4T1nhhR0h8FlVw==", + "version": "24.9.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.9.0.tgz", + "integrity": "sha512-HFdCeH/wx6QPz8EncafbCqJBqaCG1ENW75xg3cLFMRUoqZDgByT6HSueiumetT2uClZxwqj0qS4qMVZwLHRHHw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@puppeteer/browsers": "2.10.4", + "@puppeteer/browsers": "2.10.5", "chromium-bidi": "5.1.0", - "debug": "^4.4.0", + "debug": "^4.4.1", "devtools-protocol": "0.0.1439962", "typed-query-selector": "^2.12.0", "ws": "^8.18.2" @@ -5116,9 +5117,9 @@ } }, "node_modules/zod": { - "version": "3.24.4", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.4.tgz", - "integrity": "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==", + "version": "3.25.13", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.13.tgz", + "integrity": "sha512-Q8mvk2iWi7rTDfpQBsu4ziE7A6AxgzJ5hzRyRYQkoV3A3niYsXVwDaP1Kbz3nWav6S+VZ6k2OznFn8ZyDHvIrg==", "dev": true, "license": "MIT", "funding": { diff --git a/package.json b/package.json index 3bb0b79a..f0ec618c 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "prettier": "^3.5.3", "prettier-plugin-go-template": "^0.0.15", "prettier-plugin-tailwindcss": "^0.6.11", - "puppeteer": "^24.8.2", + "puppeteer": "^24.9.0", "rimraf": "^6.0.1", "tailwind-scrollbar": "^4.0.2", "tailwindcss": "^4.1.7", From 90d9219c6dcc4d458da59e606df04e091edaa342 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 05:54:08 +0000 Subject: [PATCH 47/63] =?UTF-8?q?=F0=9F=93=8C=20Bump=20@headlessui/react?= =?UTF-8?q?=20from=202.2.3=20to=202.2.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.2.3 to 2.2.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.2.4/packages/@headlessui-react) --- updated-dependencies: - dependency-name: "@headlessui/react" dependency-version: 2.2.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 24 ++++++++++++------------ package.json | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d2b89c8..151281f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "@headlessui/react": "^2.2.3", + "@headlessui/react": "^2.2.4", "@heroicons/react": "^2.2.0", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.10", @@ -220,15 +220,15 @@ "integrity": "sha512-XGndio0l5/Gvd6CLIABvsav9HHezgDFFhDfHk1bvLfr9ni8dojqLSvBbotJEjmIwNHL7vK4QzBJTdBRoB+c1ww==" }, "node_modules/@headlessui/react": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.3.tgz", - "integrity": "sha512-hgOJGXPifPlOczIeSwX8OjLWRJ5XdYApZFf7DeCbCrO1PXHkPhNTRrA9ZwJsgAG7SON1i2JcvIreF/kbgtJeaQ==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.4.tgz", + "integrity": "sha512-lz+OGcAH1dK93rgSMzXmm1qKOJkBUqZf1L4M8TWLNplftQD3IkoEDdUFNfAn4ylsN6WOTVtWaLmvmaHOUk1dTA==", "license": "MIT", "dependencies": { "@floating-ui/react": "^0.26.16", "@react-aria/focus": "^3.20.2", "@react-aria/interactions": "^3.25.0", - "@tanstack/react-virtual": "^3.13.6", + "@tanstack/react-virtual": "^3.13.9", "use-sync-external-store": "^1.5.0" }, "engines": { @@ -1207,12 +1207,12 @@ } }, "node_modules/@tanstack/react-virtual": { - "version": "3.13.6", - "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.13.6.tgz", - "integrity": "sha512-WT7nWs8ximoQ0CDx/ngoFP7HbQF9Q2wQe4nh2NB+u2486eX3nZRE40P9g6ccCVq7ZfTSH5gFOuCoVH5DLNS/aA==", + "version": "3.13.9", + "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.13.9.tgz", + "integrity": "sha512-SPWC8kwG/dWBf7Py7cfheAPOxuvIv4fFQ54PdmYbg7CpXfsKxkucak43Q0qKsxVthhUJQ1A7CIMAIplq4BjVwA==", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.13.6" + "@tanstack/virtual-core": "3.13.9" }, "funding": { "type": "github", @@ -1224,9 +1224,9 @@ } }, "node_modules/@tanstack/virtual-core": { - "version": "3.13.6", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.6.tgz", - "integrity": "sha512-cnQUeWnhNP8tJ4WsGcYiX24Gjkc9ALstLbHcBj1t3E7EimN6n6kHH+DPV4PpDnuw00NApQp+ViojMj1GRdwYQg==", + "version": "3.13.9", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.9.tgz", + "integrity": "sha512-3jztt0jpaoJO5TARe2WIHC1UQC3VMLAFUW5mmMo0yrkwtDB2AQP0+sh10BVUpWrnvHjSLvzFizydtEGLCJKFoQ==", "license": "MIT", "funding": { "type": "github", diff --git a/package.json b/package.json index 3bb0b79a..30497317 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ } ], "dependencies": { - "@headlessui/react": "^2.2.3", + "@headlessui/react": "^2.2.4", "@heroicons/react": "^2.2.0", "@iamtraction/google-translate": "^2.0.1", "@tailwindcss/forms": "^0.5.10", From 3fd762f22bf1ee645bd3447f640576f9f5247ea7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 05:54:15 +0000 Subject: [PATCH 48/63] =?UTF-8?q?=F0=9F=92=84=20Rebuild=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 9a507eee..ad8ff2ec 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */ +/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ @layer properties; #zen-mode-button { From 7f95fe716463173daa867591338f20b3e4e4f604 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 05:54:25 +0000 Subject: [PATCH 49/63] =?UTF-8?q?=F0=9F=92=84=20Rebuild=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 9a507eee..ad8ff2ec 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */ +/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ @layer properties; #zen-mode-button { From e8411dfe6470ff5c47d9d3902d0d8ede947349ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 05:54:34 +0000 Subject: [PATCH 50/63] =?UTF-8?q?=F0=9F=92=84=20Rebuild=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 9a507eee..ad8ff2ec 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */ +/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ @layer properties; #zen-mode-button { From 5c905b1a56dfb58390dfbcc41a75d6fc0df20110 Mon Sep 17 00:00:00 2001 From: nunocoracao <3803196+nunocoracao@users.noreply.github.com> Date: Fri, 23 May 2025 06:06:56 +0000 Subject: [PATCH 51/63] 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 1bd2ff3f..80f5a21d 100644 --- a/config.toml +++ b/config.toml @@ -2,4 +2,4 @@ [module.hugoVersion] extended = true min = "0.87.0" -max = "0.147.3" \ No newline at end of file +max = "0.147.5" \ No newline at end of file diff --git a/release-versions/hugo-latest.txt b/release-versions/hugo-latest.txt index 52cf2976..9787430f 100644 --- a/release-versions/hugo-latest.txt +++ b/release-versions/hugo-latest.txt @@ -1 +1 @@ -v0.147.3 +v0.147.5 From 079660d207b662a51ee3915af7f87a26f311a985 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 25 May 2025 01:48:30 +0800 Subject: [PATCH 52/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20cursor=20pointer=20?= =?UTF-8?q?on=20show=20more=20link=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/layouts/partials/recent-articles-demo.html | 2 +- layouts/partials/recent-articles/main.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/layouts/partials/recent-articles-demo.html b/exampleSite/layouts/partials/recent-articles-demo.html index 07cf4704..7e485201 100644 --- a/exampleSite/layouts/partials/recent-articles-demo.html +++ b/exampleSite/layouts/partials/recent-articles-demo.html @@ -36,7 +36,7 @@
diff --git a/layouts/partials/recent-articles/main.html b/layouts/partials/recent-articles/main.html index 65d722bb..43c27507 100644 --- a/layouts/partials/recent-articles/main.html +++ b/layouts/partials/recent-articles/main.html @@ -21,7 +21,7 @@
From 7c70f27a6252ae48bbb3611a8c54f7d2e59a0575 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 25 May 2025 03:59:15 +0800 Subject: [PATCH 53/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20hugo=20minify=20bre?= =?UTF-8?q?aks=20repo=20cards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make all repo cards behave consistently as in #2090 --- layouts/shortcodes/codeberg.html | 2 ++ layouts/shortcodes/forgejo.html | 2 ++ layouts/shortcodes/gitea.html | 2 ++ layouts/shortcodes/gitlab.html | 2 ++ 4 files changed, 8 insertions(+) diff --git a/layouts/shortcodes/codeberg.html b/layouts/shortcodes/codeberg.html index a6a8efa0..49fe7380 100644 --- a/layouts/shortcodes/codeberg.html +++ b/layouts/shortcodes/codeberg.html @@ -4,6 +4,7 @@ {{- $codebergColors := .Site.Data.codebergColors -}} {{- with $codebergData -}} +
{{- end -}} diff --git a/layouts/shortcodes/forgejo.html b/layouts/shortcodes/forgejo.html index 689dbf85..6bd3de2b 100644 --- a/layouts/shortcodes/forgejo.html +++ b/layouts/shortcodes/forgejo.html @@ -4,6 +4,7 @@ {{- $forgejoColors := .Site.Data.forgejoColors -}} {{- with $forgejoData -}} +
{{- end -}} diff --git a/layouts/shortcodes/gitea.html b/layouts/shortcodes/gitea.html index f4e15d7d..23bcb874 100644 --- a/layouts/shortcodes/gitea.html +++ b/layouts/shortcodes/gitea.html @@ -4,6 +4,7 @@ {{- $giteaColors := .Site.Data.giteaColors -}} {{- with $giteaData -}} +
{{- end -}} diff --git a/layouts/shortcodes/gitlab.html b/layouts/shortcodes/gitlab.html index 12f08808..3bdcd2c7 100644 --- a/layouts/shortcodes/gitlab.html +++ b/layouts/shortcodes/gitlab.html @@ -4,6 +4,7 @@ {{- $gitLabData := resources.GetRemote $gitlabURL | transform.Unmarshal -}} {{- with $gitLabData -}} +
{{- end -}} From 30d74227dff369e802c5c8a1e284385d04d75a0e Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 25 May 2025 04:20:10 +0800 Subject: [PATCH 54/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20cursor=20pointer=20?= =?UTF-8?q?on=20all=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 1 + assets/css/main.css | 2 +- exampleSite/layouts/partials/recent-articles-demo.html | 2 +- layouts/partials/recent-articles/main.html | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 817ee1e9..a7d726bf 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -3474,6 +3474,7 @@ body.zen-mode-enable { } } body a, body button { + cursor: pointer; transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to; transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); transition-duration: var(--tw-duration, var(--default-transition-duration)); diff --git a/assets/css/main.css b/assets/css/main.css index d03c0015..d9796d73 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -7,7 +7,7 @@ body a, body button { - @apply transition-colors; + @apply transition-colors cursor-pointer; } /* Scale SVG icons to text size */ diff --git a/exampleSite/layouts/partials/recent-articles-demo.html b/exampleSite/layouts/partials/recent-articles-demo.html index 7e485201..07cf4704 100644 --- a/exampleSite/layouts/partials/recent-articles-demo.html +++ b/exampleSite/layouts/partials/recent-articles-demo.html @@ -36,7 +36,7 @@
diff --git a/layouts/partials/recent-articles/main.html b/layouts/partials/recent-articles/main.html index 43c27507..65d722bb 100644 --- a/layouts/partials/recent-articles/main.html +++ b/layouts/partials/recent-articles/main.html @@ -21,7 +21,7 @@
From 5afceca56a0156b5ec1c0d56369cb6feabc1455b Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 25 May 2025 04:58:41 +0800 Subject: [PATCH 55/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20make=20cursor=20poi?= =?UTF-8?q?nter=20correctly=20on=20all=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restore button CSS behavior from ef5186c https://github.com/nunocoracao/blowfish/blob/ef5186ce4cb7611a24f0bea542b1badc77ba552e/assets/css/compiled/main.css#L522 --- assets/css/compiled/main.css | 4 +++- assets/css/main.css | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index a7d726bf..7fdf2b35 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -3474,11 +3474,13 @@ body.zen-mode-enable { } } body a, body button { - cursor: pointer; transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to; transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); transition-duration: var(--tw-duration, var(--default-transition-duration)); } +button, [role="button"] { + cursor: pointer; +} .icon svg { height: 1em; width: 1em; diff --git a/assets/css/main.css b/assets/css/main.css index d9796d73..2b962bbb 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -7,7 +7,12 @@ body a, body button { - @apply transition-colors cursor-pointer; + @apply transition-colors; +} + +button, +[role="button"] { + cursor: pointer; } /* Scale SVG icons to text size */ From 4688d1e8c4c386f9f3715978e7e118ff6ed54bb8 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 25 May 2025 22:36:26 +0800 Subject: [PATCH 56/63] =?UTF-8?q?=F0=9F=90=9B=20fix:=20correct=20the=20att?= =?UTF-8?q?ributes=20of=20img=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/_markup/render-image.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index e3ec319c..93353e94 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -27,13 +27,14 @@ {{ $altText }} {{- end }} From 6ab1964e22be395d7941ef8a4c341c64e1c87cc4 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Sun, 25 May 2025 23:29:48 +0800 Subject: [PATCH 57/63] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20encapsul?= =?UTF-8?q?ates=20functions=20in=20render-image.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/_markup/render-image.html | 89 +++++++++++----------- 1 file changed, 45 insertions(+), 44 deletions(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 93353e94..c308c6b3 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,49 +1,50 @@ +{{ define "inline-image-simple" -}} + {{ .alt }} +{{- end }} + +{{ define "inline-image-responsive" -}} + {{ .alt }} +{{- end }} + +{{ define "inline-image-caption" -}} + {{- with .caption }} +
{{ . | markdownify }}
+ {{- end }} +{{- end }} + {{- $disableImageOptimization := .Page.Site.Params.disableImageOptimization | default false }} {{- $url := urls.Parse .Destination }} {{- $altText := .Text }} {{- $caption := .Title }} -{{- if findRE "^https?" $url.Scheme }} -
- {{ $altText }} - {{ with $caption }}
{{ . | markdownify }}
{{ end }} -
-{{- else }} - {{- $resource := "" }} - {{- if $.Page.Resources.GetMatch ($url.String) }} - {{- $resource = $.Page.Resources.GetMatch ($url.String) }} - {{- else if resources.GetMatch ($url.String) }} - {{- $resource = resources.Get ($url.String) }} - {{- end }} - {{- with $resource }} -
- {{- if or $disableImageOptimization (eq .MediaType.SubType "svg")}} - {{ $altText }} - {{- else }} - {{ $altText }} - {{- end }} - {{ with $caption }}
{{ . | markdownify }}
{{ end }} -
- {{- else }} -
- {{ $altText }} - {{ with $caption }}
{{ . | markdownify }}
{{ end }} -
- {{- end }} +{{- $isRemote := findRE "^https?" $url.Scheme }} +{{- $resource := "" }} + +{{- if not $isRemote }} + {{- $resource = or ($.Page.Resources.GetMatch $url.String) (resources.Get $url.String) }} {{- end }} + +
+ {{- if $isRemote }} + {{ template "inline-image-simple" (dict "src" $url.String "alt" $altText) }} + {{- else if $resource }} + {{- $isSVG := eq $resource.MediaType.SubType "svg" }} + {{- $shouldOptimize := and (not $disableImageOptimization) (not $isSVG) }} + {{- if $shouldOptimize }} + {{ template "inline-image-responsive" (dict "resource" $resource "alt" $altText) }} + {{- else }} + {{ template "inline-image-simple" (dict "src" $resource.RelPermalink "alt" $altText) }} + {{- end }} + {{- else }} + {{ template "inline-image-simple" (dict "src" $url.String "alt" $altText) }} + {{- end }} + + {{ template "inline-image-caption" (dict "caption" $caption) }} +
From eb0afc16eaba676eb0776a55f78e9117afdfa056 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Mon, 26 May 2025 00:05:03 +0800 Subject: [PATCH 58/63] =?UTF-8?q?=F0=9F=93=9D=20docs:=20update=20documenta?= =?UTF-8?q?tion=20for=20render-image=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/welcome/index.it.md | 5 ++--- exampleSite/content/docs/welcome/index.ja.md | 5 ++--- exampleSite/content/docs/welcome/index.md | 5 ++--- exampleSite/content/docs/welcome/index.zh-cn.md | 5 ++--- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/exampleSite/content/docs/welcome/index.it.md b/exampleSite/content/docs/welcome/index.it.md index 9abd448b..ad3f97be 100644 --- a/exampleSite/content/docs/welcome/index.it.md +++ b/exampleSite/content/docs/welcome/index.it.md @@ -38,7 +38,7 @@ RTL è controllato in base alla lingua, quindi puoi mescolare e abbinare sia il Un grande cambiamento in Blowfish 2.0 è l'aggiunta del ridimensionamento automatico delle immagini. Utilizzando la potenza di Hugo Pipes, le immagini nei contenuti Markdown vengono ora ridimensionate automaticamente in diverse dimensioni di output. Questi vengono poi presentati utilizzando gli attributi HTML "srcset" che consentono di offrire dimensioni di file ottimizzate ai visitatori del tuo sito. -![](image-resizing.png) +![Image with alternate text](image-resizing.png) ```html @@ -46,8 +46,7 @@ Un grande cambiamento in Blowfish 2.0 è l'aggiunta del ridimensionamento automa srcset=" /image_320x0_resize_q75_box.jpg 320w, /image_635x0_resize_q75_box.jpg 635w, - /image_1024x0_resize_q75_box.jpg 1024w, - /image_1270x0_resize_q75_box.jpg 2x" + /image_1024x0_resize_q75_box.jpg 1024w" src="/image_635x0_resize_q75_box.jpg" alt="My image" /> diff --git a/exampleSite/content/docs/welcome/index.ja.md b/exampleSite/content/docs/welcome/index.ja.md index 6847143d..b00c14cd 100644 --- a/exampleSite/content/docs/welcome/index.ja.md +++ b/exampleSite/content/docs/welcome/index.ja.md @@ -38,7 +38,7 @@ RTL は言語ごとに制御されるため、プロジェクト内で RTL と L Blowfish 2.0 の大きな変更点は、自動画像リサイズ機能の追加です。Hugo Pipes の力を使って、Markdown コンテンツ内の画像が自動的に異なる出力サイズにスケーリングされるようになりました。これらは HTML の `srcset` 属性を使用して表示され、最適化されたファイルサイズをサイト訪問者に提供できます。 -![](image-resizing.png) +![Image with alternate text](image-resizing.png) ```html @@ -46,8 +46,7 @@ Blowfish 2.0 の大きな変更点は、自動画像リサイズ機能の追加 srcset=" /image_320x0_resize_q75_box.jpg 320w, /image_635x0_resize_q75_box.jpg 635w, - /image_1024x0_resize_q75_box.jpg 1024w, - /image_1270x0_resize_q75_box.jpg 2x" + /image_1024x0_resize_q75_box.jpg 1024w" src="/image_635x0_resize_q75_box.jpg" alt="私の画像" /> diff --git a/exampleSite/content/docs/welcome/index.md b/exampleSite/content/docs/welcome/index.md index e6e7d17e..eb2b5ff9 100644 --- a/exampleSite/content/docs/welcome/index.md +++ b/exampleSite/content/docs/welcome/index.md @@ -38,7 +38,7 @@ RTL is controlled on a per-language basis so you can mix and match both RTL and A big change in Blowfish 2.0 is the addition of automatic image resizing. Using the power of Hugo Pipes, images in Markdown content are now automatically scaled to different output sizes. These are then presented using HTML `srcset` attributes enabling optimised file sizes to be served to your site visitors. -![](image-resizing.png) +![Image with alternate text](image-resizing.png) ```html @@ -46,8 +46,7 @@ A big change in Blowfish 2.0 is the addition of automatic image resizing. Using srcset=" /image_320x0_resize_q75_box.jpg 320w, /image_635x0_resize_q75_box.jpg 635w, - /image_1024x0_resize_q75_box.jpg 1024w, - /image_1270x0_resize_q75_box.jpg 2x" + /image_1024x0_resize_q75_box.jpg 1024w" src="/image_635x0_resize_q75_box.jpg" alt="My image" /> diff --git a/exampleSite/content/docs/welcome/index.zh-cn.md b/exampleSite/content/docs/welcome/index.zh-cn.md index 83341749..ae498afd 100644 --- a/exampleSite/content/docs/welcome/index.zh-cn.md +++ b/exampleSite/content/docs/welcome/index.zh-cn.md @@ -43,7 +43,7 @@ RTL 是基于单独语言控制的,所以你可以在项目中通过支持多 Blowfish 2.0版本的重大变化是增加了自动调整图片大小的功能。基于 Hugo Pipes 提供的能力,实现了 Markdown 中的图片自动缩放到不同尺寸的功能。同时 Blowfish 2.0 还支持了 HTML `srcset` 以实现响应式图像,这能够为访问者优化图片大小。 -![](image-resizing.png) +![Image with alternate text](image-resizing.png) ```html @@ -51,8 +51,7 @@ Blowfish 2.0版本的重大变化是增加了自动调整图片大小的功能 srcset=" /image_320x0_resize_q75_box.jpg 320w, /image_635x0_resize_q75_box.jpg 635w, - /image_1024x0_resize_q75_box.jpg 1024w, - /image_1270x0_resize_q75_box.jpg 2x" + /image_1024x0_resize_q75_box.jpg 1024w" src="/image_635x0_resize_q75_box.jpg" alt="My image" /> From 86fa25f27f9c537f4157584d17ce915b88286ab3 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Mon, 26 May 2025 00:21:37 +0800 Subject: [PATCH 59/63] chore: unify variable naming conventions --- layouts/_default/_markup/render-image.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index c308c6b3..74000b80 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,8 +1,8 @@ -{{ define "inline-image-simple" -}} +{{ define "RenderImageSimple" -}} {{ .alt }} {{- end }} -{{ define "inline-image-responsive" -}} +{{ define "RenderImageResponsive" -}} {{ .alt }}{{ . | markdownify }} {{- end }} @@ -33,18 +33,18 @@
{{- if $isRemote }} - {{ template "inline-image-simple" (dict "src" $url.String "alt" $altText) }} + {{ template "RenderImageSimple" (dict "src" $url.String "alt" $altText) }} {{- else if $resource }} {{- $isSVG := eq $resource.MediaType.SubType "svg" }} {{- $shouldOptimize := and (not $disableImageOptimization) (not $isSVG) }} {{- if $shouldOptimize }} - {{ template "inline-image-responsive" (dict "resource" $resource "alt" $altText) }} + {{ template "RenderImageResponsive" (dict "resource" $resource "alt" $altText) }} {{- else }} - {{ template "inline-image-simple" (dict "src" $resource.RelPermalink "alt" $altText) }} + {{ template "RenderImageSimple" (dict "src" $resource.RelPermalink "alt" $altText) }} {{- end }} {{- else }} - {{ template "inline-image-simple" (dict "src" $url.String "alt" $altText) }} + {{ template "RenderImageSimple" (dict "src" $url.String "alt" $altText) }} {{- end }} - {{ template "inline-image-caption" (dict "caption" $caption) }} + {{ template "RenderImageCaption" (dict "caption" $caption) }}
From 2bbcd3ab8c69b54668f06f1ea596aba953c9293f Mon Sep 17 00:00:00 2001 From: "Aleksey @soar Smyrnov" Date: Sun, 25 May 2025 16:08:20 -0700 Subject: [PATCH 60/63] feat(shortcodes): Display a thumbnail for GitHub repos --- exampleSite/content/docs/shortcodes/index.md | 7 ++++--- layouts/shortcodes/github.html | 12 ++++++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index 1e06aa6b..44a0f06d 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -390,9 +390,10 @@ In order to add images to the gallery, use `img` tags for each image and add `cl `github` allows you to quickly link a github repository, all while showing and updating in realtime stats about it, such as the number of stars and forks it has. -| Parameter | Description | -| --------- | ----------------------------------------------------- | -| `repo` | [String] github repo in the format of `username/repo` | +| Parameter | Description | +|-----------------|---------------------------------------------------------------| +| `repo` | [String] github repo in the format of `username/repo` | +| `showThumbnail` | **Optional** [boolean] display a thumbnail for the repository | **Example 1:** diff --git a/layouts/shortcodes/github.html b/layouts/shortcodes/github.html index 484d7e90..7abb47a8 100644 --- a/layouts/shortcodes/github.html +++ b/layouts/shortcodes/github.html @@ -2,13 +2,20 @@ {{- $githubURL := print "https://api.github.com/repos/" (.Get "repo") -}} {{- $githubData := resources.GetRemote $githubURL | transform.Unmarshal -}} {{- $githubColors := .Site.Data.githubColors -}} -{{- with $githubData -}} +{{- $githubThumbnailURL := print "https://opengraph.githubassets.com/0/" (.Get "repo") -}}
+ +{{- if (.Get "showThumbnail") -}} +
+{{- end -}} + +{{- with $githubData -}} From bc6d4d86c7d97b2cdd48547958251ffe1c98e410 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Mon, 26 May 2025 13:06:36 +0800 Subject: [PATCH 61/63] =?UTF-8?q?=F0=9F=93=9D=20docs:=20update=20shortcood?= =?UTF-8?q?e=20from=20twitter=5Fsimple=20to=20x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/samples/rich-content/index.it.md | 4 ++-- exampleSite/content/samples/rich-content/index.ja.md | 4 ++-- exampleSite/content/samples/rich-content/index.md | 4 ++-- exampleSite/content/samples/rich-content/index.zh-cn.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/exampleSite/content/samples/rich-content/index.it.md b/exampleSite/content/samples/rich-content/index.it.md index d46b16d0..1f2c7ae9 100755 --- a/exampleSite/content/samples/rich-content/index.it.md +++ b/exampleSite/content/samples/rich-content/index.it.md @@ -17,9 +17,9 @@ Below is an example using the built-in `youtube` shortcode. ## Twitter -This example uses the `twitter_simple` shortcode to output a Tweet. It requires two named parameters `user` and `id`. +This example uses the `x` shortcode to output a Tweet. It requires two named parameters `user` and `id`. -{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} +{{< x user="DesignReviewed" id="1085870671291310081" >}} Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card. diff --git a/exampleSite/content/samples/rich-content/index.ja.md b/exampleSite/content/samples/rich-content/index.ja.md index 9bffca8a..bf0dc571 100755 --- a/exampleSite/content/samples/rich-content/index.ja.md +++ b/exampleSite/content/samples/rich-content/index.ja.md @@ -17,9 +17,9 @@ Hugo には、リッチコンテンツのためのいくつかの[組み込み ## Twitter -この例はツイートを `twitter_simple` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。 +この例はツイートを `x` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。 -{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} +{{< x user="DesignReviewed" id="1085870671291310081" >}} 代わりとして、 `tweet` ショートコードが完全にマークアップされた Twitter カードの埋め込みに利用できます、 diff --git a/exampleSite/content/samples/rich-content/index.md b/exampleSite/content/samples/rich-content/index.md index d46b16d0..1f2c7ae9 100755 --- a/exampleSite/content/samples/rich-content/index.md +++ b/exampleSite/content/samples/rich-content/index.md @@ -17,9 +17,9 @@ Below is an example using the built-in `youtube` shortcode. ## Twitter -This example uses the `twitter_simple` shortcode to output a Tweet. It requires two named parameters `user` and `id`. +This example uses the `x` shortcode to output a Tweet. It requires two named parameters `user` and `id`. -{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} +{{< x user="DesignReviewed" id="1085870671291310081" >}} Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card. diff --git a/exampleSite/content/samples/rich-content/index.zh-cn.md b/exampleSite/content/samples/rich-content/index.zh-cn.md index f366759f..c80edddf 100755 --- a/exampleSite/content/samples/rich-content/index.zh-cn.md +++ b/exampleSite/content/samples/rich-content/index.zh-cn.md @@ -17,9 +17,9 @@ Hugo 附带了几个用于丰富内容的[内置简码](https://gohugo.io/conten ## Twitter -此示例使用 `twitter_simple` 简码来显示推文。它需要两个参数 `user` 和 `id` 。 +此示例使用 `x` 简码来显示推文。它需要两个参数 `user` 和 `id` 。 -{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} +{{< x user="DesignReviewed" id="1085870671291310081" >}} 或者,`tweet` 简码可用于生成嵌入式的 Twitter 卡片。 From deec874d7cb876f4fe37cbcf4bb3bf30e150fb28 Mon Sep 17 00:00:00 2001 From: ZhenShuo Leo <98386542+ZhenShuo2021@users.noreply.github.com> Date: Mon, 26 May 2025 13:28:43 +0800 Subject: [PATCH 62/63] =?UTF-8?q?=F0=9F=93=9D=20docs:=20restore=20missing?= =?UTF-8?q?=20shortcode=20in=20zh-cn=20and=20it=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../content/docs/shortcodes/index.it.md | 44 ++++++++++++++++++- .../content/docs/shortcodes/index.zh-cn.md | 21 +++++++++ 2 files changed, 63 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/docs/shortcodes/index.it.md b/exampleSite/content/docs/shortcodes/index.it.md index 699c2a0f..1e06aa6b 100644 --- a/exampleSite/content/docs/shortcodes/index.it.md +++ b/exampleSite/content/docs/shortcodes/index.it.md @@ -18,7 +18,7 @@ In addition to all the [default Hugo shortcodes](https://gohugo.io/content-manag | Parameter | Description | | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `icon` | **Optional.** the icon to display on the left side.
**Default:** `exclaimation triangle icon` (Check out the [icon shortcode](#icon) for more details on using icons.) | +| `icon` | **Optional.** the icon to display on the left side.
**Default:** `triangle-exclamation` (Check out the [icon shortcode](#icon) for more details on using icons.) | | `iconColor` | **Optional.** the color for the icon in basic CSS style.
Can be either hex values (`#FFFFFF`) or color names (`white`)
By default chosen based on the current color theme . | | `cardColor` | **Optional.** the color for the card background in basic CSS style.
Can be either hex values (`#FFFFFF`) or color names (`white`)
By default chosen based on the current color theme . | | `textColor` | **Optional.** the color for the text in basic CSS style.
Can be either hex values (`#FFFFFF`) or color names (`white`)
By default chosen based on the current color theme . | @@ -286,6 +286,26 @@ Blowfish also supports automatic conversion of images included using standard Ma


+## Forgejo Card + +`forgejo` allows you to quickly link a Forgejo repository via the forgejo API, providing real-time updates on stats such as stars and forks. + + +| Parameter | Description | +| --------- | ----------------------------------------------------- | +| `repo` | [String] forgejo repo in the format of `username/repo`| +| `server` | [String] server URL like `https://v8.next.forgejo.org`| + + +**Example 1:** + +```md +{{}} +``` +{{< forgejo server="https://v8.next.forgejo.org" repo="forgejo/forgejo" >}} + +


+ ## Gallery `gallery` allows you to showcase multiple images at once, in a responsive manner with more varied and interesting layouts. @@ -345,6 +365,26 @@ In order to add images to the gallery, use `img` tags for each image and add `cl


+## Gitea Card + +`gitea` allows you to quickly link a Gitea repository via the gitea API, providing real-time updates on stats such as stars and forks. + + +| Parameter | Description | +| --------- | ----------------------------------------------------- | +| `repo` | [String] gitea repo in the format of `username/repo` | +| `server` | [String] server URL like `https://git.fsfe.org` | + + +**Example 1:** + +```md +{{}} +``` +{{< gitea server="https://git.fsfe.org" repo="FSFE/fsfe-website" >}} + +


+ ## GitHub Card `github` allows you to quickly link a github repository, all while showing and updating in realtime stats about it, such as the number of stars and forks it has. @@ -678,7 +718,7 @@ With other shortcodes {{< timeline >}} {{< timelineItem icon="github" header="header" badge="badge test" subheader="subheader" >}} -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non magna ex. Donec sollicitudin ut lorem quis lobortis. Nam ac ipsum libero. Sed a ex eget ipsum tincidunt venenatis quis sed nisl. Pellentesque sed urna vel odio consequat tincidunt id ut purus. Nam sollicitudin est sed dui interdum rhoncus. +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non magna ex. Donec sollicitudin ut lorem quis lobortis. Nam ac ipsum libero. Sed a ex eget ipsum tincidunt venenatis quis sed nisl. Pellentesque sed urna vel odio consequat tincidunt id ut purus. Nam sollicitudin est sed dui interdum rhoncus. {{}} diff --git a/exampleSite/content/docs/shortcodes/index.zh-cn.md b/exampleSite/content/docs/shortcodes/index.zh-cn.md index d33cfa1d..9a9e23ef 100644 --- a/exampleSite/content/docs/shortcodes/index.zh-cn.md +++ b/exampleSite/content/docs/shortcodes/index.zh-cn.md @@ -346,6 +346,27 @@ Blowfish 还支持使用标准 Markdown 语法自动转换图像。只需使用


+## Gitea 卡片 + +`gitea` 允许你通过 gitea API 快速链接一个 Gitea 仓库,提供诸如 stars 和 forks 等统计数据的实时更新。 + + +| 参数 | 描述 | +| -------- | --------------------------------------- | +| `repo` | \[字符串] 以 `用户名/仓库名` 格式表示的 gitea 仓库 | +| `server` | \[字符串] 服务器 URL,如 `https://git.fsfe.org` | + + +**示例 1:** + +```md +{{}} +``` + +{{< gitea server="https://git.fsfe.org" repo="FSFE/fsfe-website" >}} + +


+ ## GitHub 卡片 `github` 允许您快速链接到 github Repo,同时显示和更新有关它的实时统计信息,例如它的 star 和 fork 数。 From 4a2e4aa4ed90a1ce338fe44a713512a2674b9060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Mon, 26 May 2025 23:41:33 +0100 Subject: [PATCH 63/63] add icons to docs --- assets/css/compiled/main.css | 284 ++++++++++++++---- exampleSite/content/samples/icons/index.it.md | 7 +- exampleSite/content/samples/icons/index.ja.md | 6 +- exampleSite/content/samples/icons/index.md | 6 +- .../content/samples/icons/index.zh-cn.md | 11 +- 5 files changed, 248 insertions(+), 66 deletions(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index ad8ff2ec..817ee1e9 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */ +/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ @layer properties; #zen-mode-button { @@ -392,9 +392,15 @@ body.zen-mode-enable { color: var(--tw-prose-links); text-decoration: none; font-weight: 500; - text-decoration-color: rgba(var(--color-primary-300), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-300), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-300), 1) 100%, transparent); + } &:hover { - color: rgba(var(--color-primary-600), 1); + color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); + } text-decoration: none; border-radius: 0.09rem; } @@ -557,14 +563,20 @@ body.zen-mode-enable { padding-inline-end: 0.375em; padding-bottom: 0.1875em; padding-inline-start: 0.375em; - background-color: rgba(var(--color-neutral-200), 1); + background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); + } padding: 0.1rem 0.4rem; } :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { color: var(--tw-prose-code); font-weight: 600; font-size: 0.875em; - background-color: rgba(var(--color-neutral-50), 1); + background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-50), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-neutral-50), 1) 100%, transparent); + } padding-top: 3px; padding-bottom: 3px; padding-left: 5px; @@ -684,42 +696,138 @@ body.zen-mode-enable { line-height: 1.4285714; margin-top: 0.8571429em; } - --tw-prose-body: rgba(var(--color-neutral-700), 1); - --tw-prose-headings: rgba(var(--color-neutral-800), 1); - --tw-prose-lead: rgba(var(--color-neutral-500), 1); - --tw-prose-links: rgba(var(--color-primary-600), 1); - --tw-prose-bold: rgba(var(--color-neutral-900), 1); - --tw-prose-counters: rgba(var(--color-neutral-800), 1); - --tw-prose-bullets: rgba(var(--color-neutral-500), 1); - --tw-prose-hr: rgba(var(--color-neutral-200), 1); - --tw-prose-quotes: rgba(var(--color-neutral-700), 1); - --tw-prose-quote-borders: rgba(var(--color-primary-200), 1); - --tw-prose-captions: rgba(var(--color-neutral-500), 1); + --tw-prose-body: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-body: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } + --tw-prose-headings: color-mix(in srgb, rgba(rgba(var(--color-neutral-800), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-headings: color-mix(in oklab, rgba(var(--color-neutral-800), 1) 100%, transparent); + } + --tw-prose-lead: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-lead: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); + } + --tw-prose-links: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-links: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); + } + --tw-prose-bold: color-mix(in srgb, rgba(rgba(var(--color-neutral-900), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-bold: color-mix(in oklab, rgba(var(--color-neutral-900), 1) 100%, transparent); + } + --tw-prose-counters: color-mix(in srgb, rgba(rgba(var(--color-neutral-800), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-counters: color-mix(in oklab, rgba(var(--color-neutral-800), 1) 100%, transparent); + } + --tw-prose-bullets: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-bullets: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); + } + --tw-prose-hr: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-hr: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); + } + --tw-prose-quotes: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-quotes: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } + --tw-prose-quote-borders: color-mix(in srgb, rgba(rgba(var(--color-primary-200), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-quote-borders: color-mix(in oklab, rgba(var(--color-primary-200), 1) 100%, transparent); + } + --tw-prose-captions: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-captions: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); + } --tw-prose-kbd: oklch(21% 0.034 264.665); --tw-prose-kbd-shadows: NaN NaN NaN; - --tw-prose-code: rgba(var(--color-secondary-700), 1); - --tw-prose-pre-code: rgba(var(--color-neutral-700), 1); - --tw-prose-pre-bg: rgba(var(--color-neutral-50), 1); - --tw-prose-th-borders: rgba(var(--color-neutral-500), 1); - --tw-prose-td-borders: rgba(var(--color-neutral-300), 1); - --tw-prose-invert-body: rgba(var(--color-neutral-300), 1); - --tw-prose-invert-headings: rgba(var(--color-neutral-50), 1); - --tw-prose-invert-lead: rgba(var(--color-neutral-500), 1); - --tw-prose-invert-links: rgba(var(--color-primary-400), 1); - --tw-prose-invert-bold: rgba(var(--color-neutral), 1); - --tw-prose-invert-counters: rgba(var(--color-neutral-400), 1); - --tw-prose-invert-bullets: rgba(var(--color-neutral-600), 1); - --tw-prose-invert-hr: rgba(var(--color-neutral-500), 1); - --tw-prose-invert-quotes: rgba(var(--color-neutral-200), 1); - --tw-prose-invert-quote-borders: rgba(var(--color-primary-900), 1); - --tw-prose-invert-captions: rgba(var(--color-neutral-400), 1); + --tw-prose-code: color-mix(in srgb, rgba(rgba(var(--color-secondary-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-code: color-mix(in oklab, rgba(var(--color-secondary-700), 1) 100%, transparent); + } + --tw-prose-pre-code: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-pre-code: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } + --tw-prose-pre-bg: color-mix(in srgb, rgba(rgba(var(--color-neutral-50), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-pre-bg: color-mix(in oklab, rgba(var(--color-neutral-50), 1) 100%, transparent); + } + --tw-prose-th-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-th-borders: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); + } + --tw-prose-td-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-300), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-td-borders: color-mix(in oklab, rgba(var(--color-neutral-300), 1) 100%, transparent); + } + --tw-prose-invert-body: color-mix(in srgb, rgba(rgba(var(--color-neutral-300), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-body: color-mix(in oklab, rgba(var(--color-neutral-300), 1) 100%, transparent); + } + --tw-prose-invert-headings: color-mix(in srgb, rgba(rgba(var(--color-neutral-50), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-headings: color-mix(in oklab, rgba(var(--color-neutral-50), 1) 100%, transparent); + } + --tw-prose-invert-lead: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-lead: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); + } + --tw-prose-invert-links: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-links: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } + --tw-prose-invert-bold: color-mix(in srgb, rgba(rgba(var(--color-neutral), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-bold: color-mix(in oklab, rgba(var(--color-neutral), 1) 100%, transparent); + } + --tw-prose-invert-counters: color-mix(in srgb, rgba(rgba(var(--color-neutral-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-counters: color-mix(in oklab, rgba(var(--color-neutral-400), 1) 100%, transparent); + } + --tw-prose-invert-bullets: color-mix(in srgb, rgba(rgba(var(--color-neutral-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-bullets: color-mix(in oklab, rgba(var(--color-neutral-600), 1) 100%, transparent); + } + --tw-prose-invert-hr: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-hr: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); + } + --tw-prose-invert-quotes: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-quotes: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); + } + --tw-prose-invert-quote-borders: color-mix(in srgb, rgba(rgba(var(--color-primary-900), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-quote-borders: color-mix(in oklab, rgba(var(--color-primary-900), 1) 100%, transparent); + } + --tw-prose-invert-captions: color-mix(in srgb, rgba(rgba(var(--color-neutral-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-captions: color-mix(in oklab, rgba(var(--color-neutral-400), 1) 100%, transparent); + } --tw-prose-invert-kbd: #fff; --tw-prose-invert-kbd-shadows: 255 255 255; - --tw-prose-invert-code: rgba(var(--color-secondary-400), 1); - --tw-prose-invert-pre-code: rgba(var(--color-neutral-200), 1); - --tw-prose-invert-pre-bg: rgba(var(--color-neutral-700), 1); - --tw-prose-invert-th-borders: rgba(var(--color-neutral-500), 1); - --tw-prose-invert-td-borders: rgba(var(--color-neutral-700), 1); + --tw-prose-invert-code: color-mix(in srgb, rgba(rgba(var(--color-secondary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-code: color-mix(in oklab, rgba(var(--color-secondary-400), 1) 100%, transparent); + } + --tw-prose-invert-pre-code: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-pre-code: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); + } + --tw-prose-invert-pre-bg: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-pre-bg: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } + --tw-prose-invert-th-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-500), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-th-borders: color-mix(in oklab, rgba(var(--color-neutral-500), 1) 100%, transparent); + } + --tw-prose-invert-td-borders: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + --tw-prose-invert-td-borders: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } font-size: 1rem; line-height: 1.75; :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) { @@ -805,8 +913,14 @@ body.zen-mode-enable { margin-bottom: 0; } :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - color: rgba(var(--color-neutral-800), 1); - background-color: rgba(var(--color-primary-600), 1); + color: color-mix(in srgb, rgba(rgba(var(--color-neutral-800), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + color: color-mix(in oklab, rgba(var(--color-neutral-800), 1) 100%, transparent); + } + background-color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); + } padding: 0.1rem 0.2rem; border-radius: 0.25rem; } @@ -817,10 +931,16 @@ body.zen-mode-enable { display: none; } :where(a.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-primary-600), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); + } } :where(p.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-primary-600), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-600), 1) 100%, transparent); + } } } .\!mt-0 { @@ -1529,26 +1649,50 @@ body.zen-mode-enable { --tw-prose-th-borders: var(--tw-prose-invert-th-borders); --tw-prose-td-borders: var(--tw-prose-invert-td-borders); :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-neutral-600), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-neutral-600), 1) 100%, transparent); + } &:hover { - color: rgba(var(--color-primary-400), 1); + color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } } :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - color: rgba(var(--color-neutral-200), 1); - background-color: rgba(var(--color-neutral-700), 1); + color: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + color: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); + } + background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } } :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: rgba(var(--color-primary-400), 1); + background-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: rgba(var(--color-neutral-700), 1); + background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } } :where(a.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-primary-400), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } :where(p.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-primary-400), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } } .bg-\[\#6d6d6d\] { @@ -2071,7 +2215,7 @@ body.zen-mode-enable { backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,); } .transition { - transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events; + transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter; transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); transition-duration: var(--tw-duration, var(--default-transition-duration)); } @@ -3061,26 +3205,50 @@ body.zen-mode-enable { --tw-prose-th-borders: var(--tw-prose-invert-th-borders); --tw-prose-td-borders: var(--tw-prose-invert-td-borders); :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-neutral-600), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-600), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-neutral-600), 1) 100%, transparent); + } &:hover { - color: rgba(var(--color-primary-400), 1); + color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } } :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - color: rgba(var(--color-neutral-200), 1); - background-color: rgba(var(--color-neutral-700), 1); + color: color-mix(in srgb, rgba(rgba(var(--color-neutral-200), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + color: color-mix(in oklab, rgba(var(--color-neutral-200), 1) 100%, transparent); + } + background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } } :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: rgba(var(--color-primary-400), 1); + background-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - background-color: rgba(var(--color-neutral-700), 1); + background-color: color-mix(in srgb, rgba(rgba(var(--color-neutral-700), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + background-color: color-mix(in oklab, rgba(var(--color-neutral-700), 1) 100%, transparent); + } } :where(a.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-primary-400), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } :where(p.active):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - text-decoration-color: rgba(var(--color-primary-400), 1); + text-decoration-color: color-mix(in srgb, rgba(rgba(var(--color-primary-400), 1), 1) 100%, transparent); + @supports (color: color-mix(in lab, red, red)) { + text-decoration-color: color-mix(in oklab, rgba(var(--color-primary-400), 1) 100%, transparent); + } } } } diff --git a/exampleSite/content/samples/icons/index.it.md b/exampleSite/content/samples/icons/index.it.md index a702a222..dd77f734 100644 --- a/exampleSite/content/samples/icons/index.it.md +++ b/exampleSite/content/samples/icons/index.it.md @@ -28,6 +28,7 @@ The full list of built-in icons and their corresponding names can referenced bel | check | {{< icon check >}} | | circle-info | {{< icon circle-info >}} | | code | {{< icon code>}} | +| codeberg | {{< icon codeberg >}} | | codepen | {{< icon codepen >}} | | comment | {{< icon comment >}} | | dev | {{< icon dev >}} | @@ -58,6 +59,7 @@ The full list of built-in icons and their corresponding names can referenced bel | heart | {{< icon heart >}} | | image | {{< icon image >}} | | instagram | {{< icon instagram >}} | +| itch-io | {{< icon itch-io >}} | | keybase | {{< icon keybase >}} | | kickstarter | {{< icon kickstarter >}} | | ko-fi | {{< icon ko-fi >}} | @@ -78,10 +80,12 @@ The full list of built-in icons and their corresponding names can referenced bel | orcid | {{< icon orcid >}} | | patreon | {{< icon patreon >}} | | paypal | {{< icon paypal >}} | +| peertube | {{< icon peertube >}} | | pencil | {{< icon pencil >}} | | pgpkey | {{< icon pgpkey >}} | | phone | {{< icon phone >}} | | pinterest | {{< icon pinterest >}} | +| pixelfed | {{< icon pixelfed >}} | | poo | {{< icon poo >}} | | reddit | {{< icon reddit >}} | | researchgate | {{< icon researchgate >}} | @@ -94,6 +98,7 @@ The full list of built-in icons and their corresponding names can referenced bel | slack | {{< icon slack >}} | | snapchat | {{< icon snapchat >}} | | soundcloud | {{< icon soundcloud >}} | +| spotify | {{< icon spotify >}} | | stack-overflow | {{< icon stack-overflow >}} | | star | {{< icon star >}} | | steam | {{< icon steam >}} | @@ -113,4 +118,4 @@ The full list of built-in icons and their corresponding names can referenced bel | x-twitter | {{< icon x-twitter >}} | | xing | {{< icon xing >}} | | xmark | {{< icon xmark >}} | -| youtube | {{< icon youtube >}} | +| youtube | {{< icon youtube >}} | \ No newline at end of file diff --git a/exampleSite/content/samples/icons/index.ja.md b/exampleSite/content/samples/icons/index.ja.md index ae1f4e38..092c99fb 100644 --- a/exampleSite/content/samples/icons/index.ja.md +++ b/exampleSite/content/samples/icons/index.ja.md @@ -28,6 +28,7 @@ Blowfish はいくつもの [FontAwesome 6](https://fontawesome.com/icons) の | check | {{< icon check >}} | | circle-info | {{< icon circle-info >}} | | code | {{< icon code>}} | +| codeberg | {{< icon codeberg >}} | | codepen | {{< icon codepen >}} | | comment | {{< icon comment >}} | | dev | {{< icon dev >}} | @@ -79,10 +80,12 @@ Blowfish はいくつもの [FontAwesome 6](https://fontawesome.com/icons) の | orcid | {{< icon orcid >}} | | patreon | {{< icon patreon >}} | | paypal | {{< icon paypal >}} | +| peertube | {{< icon peertube >}} | | pencil | {{< icon pencil >}} | | pgpkey | {{< icon pgpkey >}} | | phone | {{< icon phone >}} | | pinterest | {{< icon pinterest >}} | +| pixelfed | {{< icon pixelfed >}} | | poo | {{< icon poo >}} | | reddit | {{< icon reddit >}} | | researchgate | {{< icon researchgate >}} | @@ -115,5 +118,4 @@ Blowfish はいくつもの [FontAwesome 6](https://fontawesome.com/icons) の | x-twitter | {{< icon x-twitter >}} | | xing | {{< icon xing >}} | | xmark | {{< icon xmark >}} | -| youtube | {{< icon youtube >}} | -| codeberg | {{< icon codeberg >}} | +| youtube | {{< icon youtube >}} | \ No newline at end of file diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md index a6990035..3c321b6f 100644 --- a/exampleSite/content/samples/icons/index.md +++ b/exampleSite/content/samples/icons/index.md @@ -28,6 +28,7 @@ The full list of built-in icons and their corresponding names can referenced bel | check | {{< icon check >}} | | circle-info | {{< icon circle-info >}} | | code | {{< icon code>}} | +| codeberg | {{< icon codeberg >}} | | codepen | {{< icon codepen >}} | | comment | {{< icon comment >}} | | dev | {{< icon dev >}} | @@ -79,10 +80,12 @@ The full list of built-in icons and their corresponding names can referenced bel | orcid | {{< icon orcid >}} | | patreon | {{< icon patreon >}} | | paypal | {{< icon paypal >}} | +| peertube | {{< icon peertube >}} | | pencil | {{< icon pencil >}} | | pgpkey | {{< icon pgpkey >}} | | phone | {{< icon phone >}} | | pinterest | {{< icon pinterest >}} | +| pixelfed | {{< icon pixelfed >}} | | poo | {{< icon poo >}} | | reddit | {{< icon reddit >}} | | researchgate | {{< icon researchgate >}} | @@ -115,5 +118,4 @@ The full list of built-in icons and their corresponding names can referenced bel | x-twitter | {{< icon x-twitter >}} | | xing | {{< icon xing >}} | | xmark | {{< icon xmark >}} | -| youtube | {{< icon youtube >}} | -| codeberg | {{< icon codeberg >}} | +| youtube | {{< icon youtube >}} | \ No newline at end of file diff --git a/exampleSite/content/samples/icons/index.zh-cn.md b/exampleSite/content/samples/icons/index.zh-cn.md index 6cb7bc38..273ca387 100644 --- a/exampleSite/content/samples/icons/index.zh-cn.md +++ b/exampleSite/content/samples/icons/index.zh-cn.md @@ -15,8 +15,8 @@ Blowfish 内置了许多 [FontAwesome 6](https://fontawesome.com/icons) 中的 下面是所有的内置图标及其名称。 -| 图标名称 | 预览 | -|----------------------|-----------------------------------| +| 图标名称 | 预览 | +| -------------------- | --------------------------------- | | amazon | {{< icon amazon >}} | | apple | {{< icon apple >}} | | bars | {{< icon bars >}} | @@ -28,6 +28,7 @@ Blowfish 内置了许多 [FontAwesome 6](https://fontawesome.com/icons) 中的 | check | {{< icon check >}} | | circle-info | {{< icon circle-info >}} | | code | {{< icon code>}} | +| codeberg | {{< icon codeberg >}} | | codepen | {{< icon codepen >}} | | comment | {{< icon comment >}} | | dev | {{< icon dev >}} | @@ -58,6 +59,7 @@ Blowfish 内置了许多 [FontAwesome 6](https://fontawesome.com/icons) 中的 | heart | {{< icon heart >}} | | image | {{< icon image >}} | | instagram | {{< icon instagram >}} | +| itch-io | {{< icon itch-io >}} | | keybase | {{< icon keybase >}} | | kickstarter | {{< icon kickstarter >}} | | ko-fi | {{< icon ko-fi >}} | @@ -78,10 +80,12 @@ Blowfish 内置了许多 [FontAwesome 6](https://fontawesome.com/icons) 中的 | orcid | {{< icon orcid >}} | | patreon | {{< icon patreon >}} | | paypal | {{< icon paypal >}} | +| peertube | {{< icon peertube >}} | | pencil | {{< icon pencil >}} | | pgpkey | {{< icon pgpkey >}} | | phone | {{< icon phone >}} | | pinterest | {{< icon pinterest >}} | +| pixelfed | {{< icon pixelfed >}} | | poo | {{< icon poo >}} | | reddit | {{< icon reddit >}} | | researchgate | {{< icon researchgate >}} | @@ -94,6 +98,7 @@ Blowfish 内置了许多 [FontAwesome 6](https://fontawesome.com/icons) 中的 | slack | {{< icon slack >}} | | snapchat | {{< icon snapchat >}} | | soundcloud | {{< icon soundcloud >}} | +| spotify | {{< icon spotify >}} | | stack-overflow | {{< icon stack-overflow >}} | | star | {{< icon star >}} | | steam | {{< icon steam >}} | @@ -113,4 +118,4 @@ Blowfish 内置了许多 [FontAwesome 6](https://fontawesome.com/icons) 中的 | x-twitter | {{< icon x-twitter >}} | | xing | {{< icon xing >}} | | xmark | {{< icon xmark >}} | -| youtube | {{< icon youtube >}} | +| youtube | {{< icon youtube >}} | \ No newline at end of file