- {{ with .Site.Author.image }}
+ {{ with .Site.Params.Author.image }}
{{ $authorImage := "" }}
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
{{ $authorImage = resources.GetRemote . }}
@@ -37,22 +37,22 @@
{{ end }}
{{ if $authorImage }}
{{ if not $disableImageOptimization }}
- {{ $authorImage = $authorImage.Fill (print "288x288 q" ( $.Site.Author.imagequality | default "96" )) }}
+ {{ $authorImage = $authorImage.Fill (print "288x288 q" ( $.Site.Params.Author.imagequality | default "96" )) }}
{{ end }}
+ alt="{{ $.Site.Params.Author.name | default " Author" }}" src="{{ $authorImage.RelPermalink }}" />
{{ end }}
{{ end }}
- {{ with .Site.Author.headline }}
+ {{ with .Site.Params.Author.headline }}
- {{ with .Site.Author.links }}
+ {{ with .Site.Params.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}
diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html
index 93732ea0..e415db19 100644
--- a/layouts/partials/home/profile.html
+++ b/layouts/partials/home/profile.html
@@ -3,7 +3,7 @@
h-full
{{ end }} flex flex-col items-center justify-center text-center">
- {{ with .Site.Author.image }}
+ {{ with .Site.Params.Author.image }}
{{ $authorImage := "" }}
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
{{ $authorImage = resources.GetRemote . }}
@@ -12,16 +12,16 @@
{{ end }}
{{ if $authorImage }}
{{ if not $disableImageOptimization }}
- {{ $authorImage = $authorImage.Fill (print "288x288 q" ( $.Site.Author.imagequality | default "96" )) }}
+ {{ $authorImage = $authorImage.Fill (print "288x288 q" ( $.Site.Params.Author.imagequality | default "96" )) }}
{{ end }}
-
{{ end }}
{{ end }}
- {{ with .Site.Author.headline }}
+ {{ with .Site.Params.Author.headline }}
{{ . | markdownify }}
diff --git a/layouts/partials/schema.html b/layouts/partials/schema.html
index 77ecfa3c..04e4e7ac 100644
--- a/layouts/partials/schema.html
+++ b/layouts/partials/schema.html
@@ -11,7 +11,7 @@
{{ with .Site.Params.keywords }}"keywords": {{ . }},{{ end }}
"publisher" : {
"@type": "Person",
- "name": "{{ .Site.Author.name | safeJS }}"
+ "name": "{{ .Site.Params.Author.name | safeJS }}"
}
}
@@ -30,7 +30,7 @@
"url" : "{{ .Permalink }}",
"author" : {
"@type": "Person",
- "name": "{{ .Site.Author.name | safeJS }}"
+ "name": "{{ .Site.Params.Author.name | safeJS }}"
},
{{ with .PublishDate }}"copyrightYear": "{{ .Format "2006" }}",{{ end }}
{{ with .Date }}"dateCreated": "{{ .Format $iso8601 }}",{{ end }}
From 1fbb47f5d5e384086d12cd2ee8122e5bf3db06b0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 14 Aug 2024 05:56:36 +0000
Subject: [PATCH 17/34] =?UTF-8?q?=F0=9F=93=8C=20Bump=20tailwindcss=20from?=
=?UTF-8?q?=203.4.7=20to=203.4.10?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.7 to 3.4.10.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.10/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.10)
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
package-lock.json | 12 ++++++------
package.json | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 921f66ab..453eb148 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -31,7 +31,7 @@
"puppeteer": "^22.15.0",
"rimraf": "^6.0.1",
"tailwind-scrollbar": "^3.1.0",
- "tailwindcss": "^3.4.7",
+ "tailwindcss": "^3.4.10",
"tw-elements": "2.0.0",
"typeit": "^8.8.4",
"vendor-copy": "^3.0.1"
@@ -4035,9 +4035,9 @@
}
},
"node_modules/tailwindcss": {
- "version": "3.4.7",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.7.tgz",
- "integrity": "sha512-rxWZbe87YJb4OcSopb7up2Ba4U82BoiSGUdoDr3Ydrg9ckxFS/YWsvhN323GMcddgU65QRy7JndC7ahhInhvlQ==",
+ "version": "3.4.10",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.10.tgz",
+ "integrity": "sha512-KWZkVPm7yJRhdu4SRSl9d4AK2wM3a50UsvgHZO7xY77NQr2V+fIrEuoDGQcbvswWvFGbS2f6e+jC/6WJm1Dl0w==",
"dependencies": {
"@alloc/quick-lru": "^5.2.0",
"arg": "^5.0.2",
diff --git a/package.json b/package.json
index 138ce7e2..25012e56 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,7 @@
"puppeteer": "^22.15.0",
"rimraf": "^6.0.1",
"tailwind-scrollbar": "^3.1.0",
- "tailwindcss": "^3.4.7",
+ "tailwindcss": "^3.4.10",
"tw-elements": "2.0.0",
"typeit": "^8.8.4",
"vendor-copy": "^3.0.1"
From c5dd873351e25eeb8fc83719fac7c899834bd0d0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 14 Aug 2024 05:56:48 +0000
Subject: [PATCH 18/34] =?UTF-8?q?=F0=9F=93=8C=20Bump=20lite-youtube-embed?=
=?UTF-8?q?=20from=200.3.2=20to=200.3.3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [lite-youtube-embed](https://github.com/paulirish/lite-youtube-embed) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/paulirish/lite-youtube-embed/releases)
- [Commits](https://github.com/paulirish/lite-youtube-embed/compare/v0.3.2...v0.3.3)
---
updated-dependencies:
- dependency-name: lite-youtube-embed
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
package-lock.json | 12 ++++++------
package.json | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 921f66ab..fbcb9efb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -22,7 +22,7 @@
"fuse.js": "^7.0.0",
"jquery": "^3.7.1",
"katex": "^0.16.11",
- "lite-youtube-embed": "^0.3.2",
+ "lite-youtube-embed": "^0.3.3",
"mermaid": "^10.9.1",
"packery": "^2.1.2",
"prettier": "^3.3.3",
@@ -2372,9 +2372,9 @@
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
},
"node_modules/lite-youtube-embed": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/lite-youtube-embed/-/lite-youtube-embed-0.3.2.tgz",
- "integrity": "sha512-b1dgKyF4PHhinonmr3PB172Nj0qQgA/7DE9EmeIXHR1ksnFEC2olWjNJyJGdsN2cleKHRjjsmrziKlwXtPlmLQ==",
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/lite-youtube-embed/-/lite-youtube-embed-0.3.3.tgz",
+ "integrity": "sha512-gFfVVnj6NRjxVfJKo3qoLtpi0v5mn3AcR4eKD45wrxQuxzveFJUb+7Cr6uV6n+DjO8X3p0UzPPquhGt0H/y+NA==",
"dev": true
},
"node_modules/lodash": {
diff --git a/package.json b/package.json
index 138ce7e2..825dd4eb 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"fuse.js": "^7.0.0",
"jquery": "^3.7.1",
"katex": "^0.16.11",
- "lite-youtube-embed": "^0.3.2",
+ "lite-youtube-embed": "^0.3.3",
"mermaid": "^10.9.1",
"packery": "^2.1.2",
"prettier": "^3.3.3",
From 5f181d02db6befa05a5c7399c16da59fff073115 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 14 Aug 2024 05:56:54 +0000
Subject: [PATCH 19/34] =?UTF-8?q?=F0=9F=93=8C=20Bump=20@tailwindcss/typogr?=
=?UTF-8?q?aphy=20from=200.5.13=20to=200.5.14?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography) from 0.5.13 to 0.5.14.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.13...v0.5.14)
---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
package-lock.json | 12 ++++++------
package.json | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 921f66ab..31afba9b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -17,7 +17,7 @@
"commander": "^12.1.0"
},
"devDependencies": {
- "@tailwindcss/typography": "^0.5.13",
+ "@tailwindcss/typography": "^0.5.14",
"chart.js": "^4.4.3",
"fuse.js": "^7.0.0",
"jquery": "^3.7.1",
@@ -415,9 +415,9 @@
}
},
"node_modules/@tailwindcss/typography": {
- "version": "0.5.13",
- "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.13.tgz",
- "integrity": "sha512-ADGcJ8dX21dVVHIwTRgzrcunY6YY9uSlAHHGVKvkA+vLc5qLwEszvKts40lx7z0qc4clpjclwLeK5rVCV2P/uw==",
+ "version": "0.5.14",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.14.tgz",
+ "integrity": "sha512-ZvOCjUbsJBjL9CxQBn+VEnFpouzuKhxh2dH8xMIWHILL+HfOYtlAkWcyoon8LlzE53d2Yo6YO6pahKKNW3q1YQ==",
"dev": true,
"dependencies": {
"lodash.castarray": "^4.4.0",
diff --git a/package.json b/package.json
index 138ce7e2..58007801 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,7 @@
},
"homepage": "https://github.com/nunocoracao/blowfish#readme",
"devDependencies": {
- "@tailwindcss/typography": "^0.5.13",
+ "@tailwindcss/typography": "^0.5.14",
"chart.js": "^4.4.3",
"fuse.js": "^7.0.0",
"jquery": "^3.7.1",
From d7f618a92e603e8bb5fb7ffecc0bbd7ec7ab8931 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]"
Date: Wed, 14 Aug 2024 05:57:03 +0000
Subject: [PATCH 20/34] =?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 e25ddcc1..32d2caed 100644
--- a/assets/css/compiled/main.css
+++ b/assets/css/compiled/main.css
@@ -14,7 +14,7 @@ body.zen-mode-enable {
}
}
-/*! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com */
+/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
From a47a7e3bf5e4fef110c316261a4d8113fc012c9c Mon Sep 17 00:00:00 2001
From: "dependabot[bot]"
Date: Wed, 14 Aug 2024 05:57:21 +0000
Subject: [PATCH 21/34] =?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 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css
index e25ddcc1..38f5b0cc 100644
--- a/assets/css/compiled/main.css
+++ b/assets/css/compiled/main.css
@@ -1121,7 +1121,6 @@ select {
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
width:100%;
table-layout:auto;
- text-align:start;
margin-top:2em;
margin-bottom:2em;
font-size:0.875em;
@@ -1164,6 +1163,10 @@ select {
vertical-align:top
}
+.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
+ text-align:start
+}
+
.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top:0;
margin-bottom:0
From dcde4feef30b3dda83607efb56fb908a2a085877 Mon Sep 17 00:00:00 2001
From: Jinbo Pan
Date: Thu, 15 Aug 2024 17:17:03 -0700
Subject: [PATCH 22/34] Do not prevent default for Enter
Do not prevent default for "Enter" if search is not visible. Old logic would prevent comment system adding new line using "Enter"
---
assets/js/search.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/assets/js/search.js b/assets/js/search.js
index c3e7adbc..bfa1a322 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -73,8 +73,6 @@ document.addEventListener("keydown", function (event) {
} else {
document.activeElement.click();
}
- }else{
- event.preventDefault();
}
}
From 9e5d3f7758fd944a104777354c6e1bfc4ca1902b Mon Sep 17 00:00:00 2001
From: sculptor189
Date: Fri, 16 Aug 2024 19:51:30 -0400
Subject: [PATCH 23/34] avoid showing incorrect lastmod "0001-01-01"
---
layouts/partials/article-meta/basic.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/article-meta/basic.html b/layouts/partials/article-meta/basic.html
index 40d12d53..2bfcd25d 100644
--- a/layouts/partials/article-meta/basic.html
+++ b/layouts/partials/article-meta/basic.html
@@ -19,7 +19,7 @@
{{ end }}
{{ if and (.Params.showDateUpdated | default (.Site.Params.article.showDateUpdated | default false)) (ne (partial
-"functions/date.html" .Date) (partial "functions/date.html" .Lastmod)) }}
+"functions/date.html" .Date) (partial "functions/date.html" .Lastmod)) (gt (.Lastmod | time.Format "2006") 1) }}
{{ $meta.Add "partials" (slice (partial "meta/date-updated.html" .Lastmod)) }}
{{ end }}
@@ -96,4 +96,4 @@
{{ end }}
-{{ end }}
\ No newline at end of file
+{{ end }}
From 6f8c427a361e31a2d33e0420ebfc683073a6d1fe Mon Sep 17 00:00:00 2001
From: Shiro <69096852+akatsukiro@users.noreply.github.com>
Date: Fri, 23 Aug 2024 17:45:45 +0800
Subject: [PATCH 24/34] Update index.zh-cn.md
small typo fix.
---
exampleSite/content/docs/configuration/index.zh-cn.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exampleSite/content/docs/configuration/index.zh-cn.md b/exampleSite/content/docs/configuration/index.zh-cn.md
index dc7c6995..34b02a37 100644
--- a/exampleSite/content/docs/configuration/index.zh-cn.md
+++ b/exampleSite/content/docs/configuration/index.zh-cn.md
@@ -260,7 +260,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中
| `list.showSummary` | `false` | 是否在列表页显示文章摘要。如果在[扉页参数]({{< ref "front-matter" >}})中没有提供摘要,那么将会使用[站点配置](#site-configuration) 中的 `summaryLength` 参数自动生成一个。 |
| `list.showViews` | `false` | 是否显示文章阅读量。这需要集成 firebase ,具体可以看下面。 |
| `list.showLikes` | `false` | 是否显示文章点赞量。这需要集成 firebase ,具体可以看下面。 |
-| `list.showCards` | `false` | 是否将每个文章显示未卡片或简单的内联文本。 |
+| `list.showCards` | `false` | 是否将每个文章显示为卡片或简单的内联文本。 |
| `list.groupByYear` | `true` | 是否根据年做聚合。 |
| `list.cardView` | `false` | 将列表展示为卡片容器。 |
| `list.cardViewScreenWidth` | `false` | 增强列表中卡片的宽度,使其可以占据可用的全部宽度。 |
From d57331764020e8dd771b1cffa429f41c85a8a691 Mon Sep 17 00:00:00 2001
From: BabaRagnarok <123167756+BabaRagnarok@users.noreply.github.com>
Date: Sat, 24 Aug 2024 12:10:50 +0200
Subject: [PATCH 25/34] translate front-metter
---
.../content/docs/front-matter/index.it.md | 84 +++++++++----------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/exampleSite/content/docs/front-matter/index.it.md b/exampleSite/content/docs/front-matter/index.it.md
index 50126a5f..e9d7e2b6 100644
--- a/exampleSite/content/docs/front-matter/index.it.md
+++ b/exampleSite/content/docs/front-matter/index.it.md
@@ -2,56 +2,56 @@
title: "Front Matter"
date: 2020-08-10
draft: false
-description: "All the front matter variables available in Blowfish."
+description: "Tutte le variabili in primo piano disponibili in Blowfish."
slug: "front-matter"
tags: ["front matter", "config", "docs"]
-series: ["Documentation"]
+series: ["Documentazione"]
series_order: 7
---
-In addition to the [default Hugo front matter parameters](https://gohugo.io/content-management/front-matter/#front-matter-variables), Blowfish adds a number of additional options to customise the presentation of individual articles. All the available theme front matter parameters are listed below.
+Oltre ai [parametri predefiniti della parte frontale di Hugo](https://gohugo.io/content-management/front-matter/#front-matter-variables), Blowfish aggiunge una serie di opzioni aggiuntive per personalizzare la presentazione dei singoli articoli . Tutti i parametri disponibili per la parte frontale del tema sono elencati di seguito.
-Front matter parameter default values are inherited from the theme's [base configuration]({{< ref "configuration" >}}), so you only need to specify these parameters in your front matter when you want to override the default.
+I valori predefiniti dei parametri del front metter vengono ereditati dalla [configurazione di base]({{< ref "configuration" >}}) del tema, quindi devi specificare questi parametri nella parte iniziale solo quando desideri sovrascrivere quelli predefiniti.
| Name | Default | Description |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `title` | _Not set_ | The name of the article. |
-| `description` | _Not set_ | The text description for the article. It is used in the HTML metadata. |
-| `externalUrl` | _Not set_ | If this article is published on a third-party website, the URL to this article. Providing a URL will prevent a content page being generated and any references to this article will link directly to the third-party website. |
-| `editURL` | `article.editURL` | When `showEdit` is active, the URL for the edit link. |
-| `editAppendPath` | `article.editAppendPath` | When `showEdit` is active, whether or not the path to the current article should be appended to the URL set at `editURL`. |
-| `groupByYear` | `list.groupByYear` | Whether or not articles are grouped by year on list pages. |
-| `menu` | _Not set_ | When a value is provided, a link to this article will appear in the named menus. Valid values are `main` or `footer`. |
-| `robots` | _Not set_ | String that indicates how robots should handle this article. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. |
-| `sharingLinks` | `article.sharingLinks` | Which sharing links to display at the end of this article. When not provided, or set to `false` no links will be displayed. |
-| `showAuthor` | `article.showAuthor` | Whether or not the author box for the default author is displayed in the article footer. |
-| `authors` | _Not set_ | Array of values for authors, if set it overrides `showAuthor` settings for page or site. Used on the multiple authors feature, check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. |
-| `showAuthorsBadges` | `article.showAuthorsBadges` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. |
-| `featureimage` | _Not set_ | External URL for feature image
-| `featureimagecaption` | _Not set_ | Caption for feature image. Only displayed in heroStyle `big`
-| `showHero` | `article.showHero` | Whether the thumbnail image will be shown as a hero image within the article page. |
-| `heroStyle` | `article.heroStyle` | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
-| `showBreadcrumbs` | `article.showBreadcrumbs` or `list.showBreadcrumbs` | Whether the breadcrumbs are displayed in the article or list header. |
-| `showDate` | `article.showDate` | Whether or not the article date is displayed. The date is set using the `date` parameter. |
-| `showDateUpdated` | `article.showDateUpdated` | Whether or not the date the article was updated is displayed. The date is set using the `lastmod` parameter. |
-| `showEdit` | `article.showEdit` | Whether or not the link to edit the article content should be displayed. |
-| `showHeadingAnchors` | `article.showHeadingAnchors` | Whether or not heading anchor links are displayed alongside headings within this article. |
-| `showPagination` | `article.showPagination` | Whether or not the next/previous article links are displayed in the article footer. |
-| `invertPagination` | `article.invertPagination` | Whether or not to flip the direction of the next/previous article links. |
-| `showReadingTime` | `article.showReadingTime` | Whether or not the article reading time is displayed. |
-| `showTaxonomies` | `article.showTaxonomies` | Whether or not the taxonomies that relate to this article are displayed. |
-| `showTableOfContents` | `article.showTableOfContents` | Whether or not the table of contents is displayed on this article. |
-| `showWordCount` | `article.showWordCount` | Whether or not the article word count is displayed. |
-| `showComments` | `article.showComments` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
-| `showSummary` | `list.showSummary` | Whether or not the article summary should be displayed on list pages. |
-| `showViews` | `article.showViews` | Whether or not the article views should be displayed in lists and detailed view. This requires a firebase integration. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish |
-| `showLikes` | `article.showLikes` | Whether or not the article likes should be displayed in lists and detailed view. This requires a firebase integration. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish |
-| `seriesOpened` | `article.seriesOpened` | Whether or not the series module will be displayed open by default or not. |
-| `series` | _Not set_ | Array of series the article belongs to, we recommend using only one series per article. |
-| `series_order` | _Not set_ | Number of the article within the series. |
-| `summary` | Auto generated using `summaryLength` (see [site configuration]({{< ref "configuration#site-configuration" >}})) | When `showSummary` is enabled, this is the Markdown string to be used as the summary for this article. |
-| `xml` | `true` unless excluded by `sitemap.excludedKinds` | Whether or not this article is included in the generated `/sitemap.xml` file. |
-| `layoutBackgroundBlur` | `true` | Makes the background image in the background heroStyle blur with the scroll |
-| `layoutBackgroundHeaderSpace` | `true` | Add space between the header and the body. |
+| `title` | _Not set_ | Il nome dell'articolo. |
+| `description` | _Not set_ | La descrizione testuale dell'articolo. Viene utilizzato nei metadati HTML. |
+| `externalUrl` | _Not set_ | Se questo articolo è pubblicato su un sito Web di terze parti, l'URL di questo articolo. Fornire un URL impedirà la generazione di una pagina di contenuto e qualsiasi riferimento a questo articolo si collegherà direttamente al sito Web di terze parti. |
+| `editURL` | `article.editURL` | Quando "showEdit" è attivo, l'URL per il collegamento di modifica. |
+| `editAppendPath` | `article.editAppendPath` | Quando "showEdit" è attivo, indica se il percorso dell'articolo corrente deve essere aggiunto o meno all'URL impostato in "editURL". |
+| `groupByYear` | `list.groupByYear` | Se gli articoli sono raggruppati o meno per anno nelle pagine di elenco. |
+| `menu` | _Not set_ | Quando viene fornito un valore, nei menu denominati verrà visualizzato un collegamento a questo articolo. I valori validi sono "main" o "footer". |
+| `robots` | _Not set_ | Stringa che indica come i robots dovrebbero gestire questo articolo. Se impostato, verrà visualizzato nell'intestazione della pagina. Fare riferimento ai [documenti di Google](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) per i valori validi. |
+| `sharingLinks` | `article.sharingLinks` | Quali link di condivisione visualizzare alla fine di questo articolo. Se non fornito o impostato su "false", non verrà visualizzato alcun collegamento. |
+| `showAuthor` | `article.showAuthor` | Se la casella dell'autore predefinito viene visualizzata o meno nel piè di pagina dell'articolo. |
+| `authors` | _Not set_ | Matrice di valori per gli autori, se impostata sovrascrive le impostazioni di "showAuthor" per la pagina o il sito. Utilizzato nella funzionalità per più autori, controlla [questa pagina]({{< ref "multi-author" >}}) per maggiori dettagli su come configurare tale funzionalità. |
+| `showAuthorsBadges` | `article.showAuthorsBadges` | Se le tassonomie degli "autori" vengono visualizzate nell'articolo o nell'intestazione dell'elenco. Ciò richiede l'impostazione di "autori multipli" e la tassonomia degli "autori". Controlla [questa pagina]({{< ref "multi-author" >}}) per maggiori dettagli su come configurare questa funzione. |
+| `featureimage` | _Not set_ | URL esterno per l'immagine in primo piano
+| `featureimagecaption` | _Not set_ | Didascalia per l'immagine in primo piano. Visualizzato solo in heroStyle "big".
+| `showHero` | `article.showHero` | Se l'immagine in miniatura verrà mostrata come immagine hero all'interno della pagina dell'articolo. |
+| `heroStyle` | `article.heroStyle` | Stile per visualizzare l'immagine hero, le opzioni valide sono: `basic`, `big`, ` background`, `thumbAndBackground`. |
+| `showBreadcrumbs` | `article.showBreadcrumbs` or `list.showBreadcrumbs` | Se i breadcrumb vengono visualizzati nell'articolo o nell'intestazione dell'elenco. |
+| `showDate` | `article.showDate` | Se viene visualizzata o meno la data dell'articolo. La data viene impostata utilizzando il parametro "data". |
+| `showDateUpdated` | `article.showDateUpdated` | Se viene visualizzata o meno la data di aggiornamento dell'articolo. La data viene impostata utilizzando il parametro "lastmod". |
+| `showEdit` | `article.showEdit` |Se deve essere visualizzato o meno il collegamento per modificare il contenuto dell'articolo. |
+| `showHeadingAnchors` | `article.showHeadingAnchors` | Se i collegamenti di ancoraggio dei titoli vengono visualizzati o meno insieme ai titoli all'interno di questo articolo. |
+| `showPagination` | `article.showPagination` | Se i collegamenti all'articolo successivo/precedente vengono visualizzati o meno nel piè di pagina dell'articolo. |
+| `invertPagination` | `article.invertPagination` | Se invertire o meno la direzione dei collegamenti all'articolo successivo/precedente. |
+| `showReadingTime` | `article.showReadingTime` | Se viene visualizzato o meno il tempo di lettura dell'articolo. |
+| `showTaxonomies` | `article.showTaxonomies` | Se vengono visualizzate o meno le tassonomie correlate a questo articolo. |
+| `showTableOfContents` | `article.showTableOfContents` | Se il sommario viene visualizzato o meno in questo articolo. |
+| `showWordCount` | `article.showWordCount` | Se viene visualizzato o meno il conteggio delle parole dell'articolo. |
+| `showComments` | `article.showComments` | Se il [commenti parziali]({{< ref "partials#comments" >}}) è incluso o meno dopo il piè di pagina dell'articolo. |
+| `showSummary` | `list.showSummary` | Se il riepilogo dell'articolo deve essere visualizzato o meno nelle pagine di elenco. |
+| `showViews` | `article.showViews` | Se le visualizzazioni degli articoli devono essere visualizzate o meno negli elenchi e nella visualizzazione dettagliata. Ciò richiede un'integrazione Firebase. Controlla [questa pagina]({{< ref "firebase-views" >}}) per una guida su come integrare Firebase in Blowfish |
+| `showLikes` | `article.showLikes` | Se l'articolo piace o meno deve essere visualizzato negli elenchi e nella vista dettagliata. Ciò richiede un'integrazione Firebase. Controlla [questa pagina]({{< ref "firebase-views" >}}) per una guida su come integrare Firebase in Blowfish |
+| `seriesOpened` | `article.seriesOpened` | Se il modulo della serie verrà visualizzato aperto per impostazione predefinita o meno. |
+| `series` | _Not set_ | Matrice di serie a cui appartiene l'articolo, si consiglia di utilizzare una sola serie per articolo. |
+| `series_order` | _Not set_ | Numero dell'articolo all'interno della serie. |
+| `summary` | Auto generated using `summaryLength` (see [site configuration]({{< ref "configuration#site-configuration" >}})) | Quando "showSummary" è abilitato, questa è la stringa Markdown da utilizzare come riepilogo per questo articolo. |
+| `xml` | `true` unless excluded by `sitemap.excludedKinds` | Se questo articolo è incluso o meno nel file `/sitemap.xml` generato. |
+| `layoutBackgroundBlur` | `true` | Rende l'immagine di sfondo sullo sfondo heroStyle sfocata con lo scorrimento. |
+| `layoutBackgroundHeaderSpace` | `true` | Aggiungi spazio tra l'intestazione e il body. |
From 5b617bce694a0b2c2e0a86f9524104d83220c4be Mon Sep 17 00:00:00 2001
From: BabaRagnarok <123167756+BabaRagnarok@users.noreply.github.com>
Date: Sat, 24 Aug 2024 12:16:18 +0200
Subject: [PATCH 26/34] translate getting-started
---
exampleSite/content/docs/getting-started/index.it.md | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/exampleSite/content/docs/getting-started/index.it.md b/exampleSite/content/docs/getting-started/index.it.md
index b41d7721..d83a338e 100644
--- a/exampleSite/content/docs/getting-started/index.it.md
+++ b/exampleSite/content/docs/getting-started/index.it.md
@@ -261,12 +261,13 @@ Il `name' predefinito è il titolo di `pageRef', con le caselle.
## Thumbnails & Backgrounds
-Blowfish was built so it would be easy to add visual support to your articles. If your familiar with Hugo article structure, you just need to place an image file (almost all formats are supported but we recommend `.png` or `.jpg`) that starts with `feature*` inside your article folder. And that's it, Blowfish will then be able to both use the image as a thumbnail within your website as well as for
oEmbed cards across social platforms.
+Blowfish è stato creato in modo che sia facile aggiungere supporto visivo ai tuoi articoli. Se hai familiarità con la struttura degli articoli di Hugo, devi solo inserire un file immagine (quasi tutti i formati sono supportati ma consigliamo `.png` o `.jpg`) che inizi con `feature*` all'interno della cartella dell'articolo. E questo è tutto, Blowfish sarà quindi in grado di utilizzare l'immagine sia come miniatura all'interno del tuo sito web sia per le schede
oEmbed attraverso le piattaforme social.
-[Here]({{< ref "thumbnails" >}}) is also a guide with more info and a [sample]({{< ref "thumbnail_sample" >}}) if you want to see how you can do it.
+[Qui]({{< ref "thumbnails" >}}) è anche una guida con maggiori informazioni e un [esempio]({{< ref "thumbnails_sample" >}}) se vuoi vedere come puoi farlo.
Additionally, Blowfish also supports background hero images in articles and lists. In order to use a different image than the featured one, add an image file in which the name starts with `background*`.
+Inoltre, Blowfish supporta anche una background hero image in articoli ed elenchi. Per utilizzare un'immagine diversa da quella in primo piano, aggiungi un file immagine il cui nome inizia con `background*`.
-## Detailed configuration
+## Dettagli di configurazione
-The steps above are the bare minimum configuration. If you now run `hugo server` you will be presented with a blank Blowfish website. Detailed configuration is covered in the [Configuration]({{< ref "configuration" >}}) section.
+I passaggi precedenti rappresentano la configurazione minima. Se ora esegui `hugo server` ti verrà presentato un sito web Blowfish vuoto. La configurazione dettagliata è trattata nella sezione [Configurazione]({{< ref "configuration" >}}).
From 7ac9d0ce24e7a2b3d5e6aa4891f1ffd80b4b6ec5 Mon Sep 17 00:00:00 2001
From: BabaRagnarok <123167756+BabaRagnarok@users.noreply.github.com>
Date: Sat, 24 Aug 2024 12:17:08 +0200
Subject: [PATCH 27/34] Update index.it.md
---
exampleSite/content/docs/getting-started/index.it.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exampleSite/content/docs/getting-started/index.it.md b/exampleSite/content/docs/getting-started/index.it.md
index d83a338e..673241d1 100644
--- a/exampleSite/content/docs/getting-started/index.it.md
+++ b/exampleSite/content/docs/getting-started/index.it.md
@@ -1,5 +1,5 @@
---
-title: "Per iniziare"
+title: "Getting started"
date: 2020-08-15
draft: false
description: "Tutte le variabili del front matter sono disponibili in Blowfish.
From 8713e4429be6fa23da8e3b03e3cdaa3663a78f68 Mon Sep 17 00:00:00 2001
From: BabaRagnarok <123167756+BabaRagnarok@users.noreply.github.com>
Date: Sat, 24 Aug 2024 12:17:33 +0200
Subject: [PATCH 28/34] translete getting-started
---
exampleSite/content/docs/getting-started/index.it.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exampleSite/content/docs/getting-started/index.it.md b/exampleSite/content/docs/getting-started/index.it.md
index 673241d1..d83a338e 100644
--- a/exampleSite/content/docs/getting-started/index.it.md
+++ b/exampleSite/content/docs/getting-started/index.it.md
@@ -1,5 +1,5 @@
---
-title: "Getting started"
+title: "Per iniziare"
date: 2020-08-15
draft: false
description: "Tutte le variabili del front matter sono disponibili in Blowfish.
From 4152e27e3562b2fbeb8273e091accd62d4e8c0fe Mon Sep 17 00:00:00 2001
From: BabaRagnarok <123167756+BabaRagnarok@users.noreply.github.com>
Date: Sat, 24 Aug 2024 12:25:35 +0200
Subject: [PATCH 29/34] translate homepage-layout
---
.../content/docs/homepage-layout/index.it.md | 55 +++++++++----------
1 file changed, 27 insertions(+), 28 deletions(-)
diff --git a/exampleSite/content/docs/homepage-layout/index.it.md b/exampleSite/content/docs/homepage-layout/index.it.md
index 0f671aca..826123e3 100644
--- a/exampleSite/content/docs/homepage-layout/index.it.md
+++ b/exampleSite/content/docs/homepage-layout/index.it.md
@@ -2,88 +2,87 @@
title: "Homepage Layout"
date: 2020-08-13
draft: false
-description: "Configuring the homepage layout in the Blowfish theme."
+description: "Configurazione del layout della home page nel tema Blowfish."
slug: "homepage-layout"
tags: ["homepage", "layouts", "docs"]
-series: ["Documentation"]
+series: ["Documentazione"]
series_order: 5
---
-Blowfish provides a fully flexible homepage layout. There are two main templates to choose from with additional settings to adjust the design. Alternatively, you can also provide your own template and have complete control over the homepage content.
+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.
-The layout of the homepage is controlled by the `homepage.layout` setting in the `params.toml` configuration file. Additionally, all layouts have the option to include a listing of [recent articles](#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](#recent-articles).
## Profile layout
-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.
+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.

-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.
+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.
-Additionally, any Markdown content that is provided in the homepage content will be placed below the author profile. This allows extra flexibility for displaying a bio or other custom content using shortcodes.
+Inoltre, qualsiasi contenuto Markdown fornito nel contenuto della homepage sarà collocato sotto il profilo dell'autore. Ciò consente una maggiore flessibilità per la visualizzazione di una biografia o di altri contenuti personalizzati utilizzando gli shortcode.
-To enable the Profile layout, set `homepage.layout = "profile"` in the `params.toml` configuration file.
+Per abilitare il layout del profilo, impostare `homepage.layout = “profile”` nel file di configurazione `params.toml`.
## Page layout
-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.
-
+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à.

-To enable the Page layout, set `homepage.layout = "page"` in the `params.toml` configuration file.
+Per abilitare il layout di pagina, impostare `homepage.layout = “page”` nel file di configurazione `params.toml`.
## Hero layout
-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.
+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.

-To enable the Hero layout, set `homepage.layout = "hero"` and `homepage.homepageImage` in the `params.toml` configuration file.
+Per abilitare il layout Hero, impostare `homepage.layout = “hero”` e `homepage.homepageImage` nel file di configurazione `params.toml`.
## Background layout
-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.
+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.

-To enable the Background layout, set `homepage.layout = "background"` and `homepage.homepageImage` in the `params.toml` configuration file.
+Per abilitare il layout di sfondo, impostare `homepage.layout = “background”` e `homepage.homepageImage` nel file di configurazione `params.toml`.
## Card layout
-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.
+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.

-To enable the Card layout, set `homepage.layout = "card"` and `homepage.homepageImage` in the `params.toml` configuration file.
+Per abilitare il layout a scheda, impostare `homepage.layout = “card”` e `homepage.homepageImage` nel file di configurazione `params.toml`.
## Custom layout
-If the built-in homepage layouts aren't sufficient for your needs, you have the option to provide your own custom layout. This allows you to have total control over the page content and essentially gives you a blank slate to work with.
+Se i layout integrati della homepage non sono sufficienti per le vostre esigenze, avete la possibilità di creare un layout personalizzato. Questo permette di avere un controllo totale sul contenuto della pagina e fornisce essenzialmente una lavagna vuota con cui lavorare.
-To enable the Custom layout, set `homepage.layout = "custom"` in the `params.toml` configuration file.
+Per abilitare il layout personalizzato, impostare `homepage.layout = “custom”` nel file di configurazione `params.toml`.
-With the configuration value set, create a new `custom.html` file and place it in `layouts/partials/home/custom.html`. Now whatever is in the `custom.html` file will be placed in the content area of the site homepage. You may use whatever HTML, Tailwind, or Hugo templating functions you wish to define your layout.
+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.
-To include [recent articles](#recent-articles) on the custom layout, use the `recent-articles/main.html` partial.
+Per includere [articoli recenti](#recent-articles) nel layout personalizzato, utilizzare il partial `recent-articles/main.html`.
-As an example, the [homepage]({{< ref "/" >}}) on this site uses the custom layout to allow toggling between the profile and page layouts. Visit the [GitHub repo](https://github.com/nunocoracao/blowfish/blob/main/exampleSite/layouts/partials/home/custom.html) to see how it works.
+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.
-## Recent articles
+## Articoli recenti
-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.
+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`.

-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"]`.
+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”]`.
## Thumbnails
-Blowfish was built so it would be easy to add visual support to your articles. If your familiar with Hugo article structure, you just need to place an image file (almost all formats are supported bue we recommend `.png` or `.jpg`) that starts with `feature*` inside your article folder. And that's it, Blowfish will then able to both use the image as a thumbnail within your website as well as for
oEmbed cards across social platforms.
+Blowfish è stato creato in modo che sia facile aggiungere supporto visivo ai tuoi articoli. Se hai familiarità con la struttura dell'articolo di Hugo, devi solo inserire un file immagine (quasi tutti i formati sono supportati ma consigliamo `.png` o `.jpg`) che inizi con `feature*` all'interno della cartella dell'articolo. E questo è tutto, Blowfish sarà quindi in grado di utilizzare l'immagine sia come miniatura all'interno del tuo sito web sia per le schede
oEmbed su piattaforme sociali.
-[Here]({{< ref "thumbnails" >}}) is a guide with more info and a [sample]({{< ref "thumbnail_sample" >}}) if you want to see an example.
+[Qui]({{< ref “thumbnails” >}}) si trova una guida con maggiori informazioni e un [sample]({{< ref “thumbnail_sample” >}}) se si vuole vedere un esempio.
## Card Gallery
-Blowfish also supports displaying the standard lists of articles as card galleries. You can config this both for the recent section in the homepage and for lists of articles across your website. For homepage you can use `homepage.cardView` and `homepage.cardViewScreenWidth`; and for lists use `list.cardView` and `list.cardViewScreenWidth`. Check the [Configuration docs]({{< ref "configuration" >}}) for more details, and the homepage for a live demo.
+Blowfish supporta anche la visualizzazione degli elenchi standard di articoli come gallerie di schede. È possibile configurare questo sia per la sezione recente nella homepage che per gli elenchi di articoli nel sito web. Per la homepage si può usare `homepage.cardView` e `homepage.cardViewScreenWidth`; per gli elenchi si può usare `list.cardView` e `list.cardViewScreenWidth`. Per maggiori dettagli, consultare i [docs di configurazione] ({{< ref “configuration” >}}) e la homepage per una dimostrazione dal vivo.
From 3b3a64c9b912873762c54c557b7eae880664bc28 Mon Sep 17 00:00:00 2001
From: nunocoracao <3803196+nunocoracao@users.noreply.github.com>
Date: Tue, 27 Aug 2024 06:05:36 +0000
Subject: [PATCH 30/34] 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 113c0ad8..71beef3f 100644
--- a/config.toml
+++ b/config.toml
@@ -2,4 +2,4 @@
[module.hugoVersion]
extended = true
min = "0.87.0"
-max = "0.131.0"
+max = "0.133.1"
diff --git a/release-versions/hugo-latest.txt b/release-versions/hugo-latest.txt
index befd7319..6518afcc 100644
--- a/release-versions/hugo-latest.txt
+++ b/release-versions/hugo-latest.txt
@@ -1 +1 @@
-v0.131.0
+v0.133.1
From 2e16b49adb6552f6fb55bf4dc32e75df8cc8b325 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 28 Aug 2024 05:59:54 +0000
Subject: [PATCH 31/34] =?UTF-8?q?=F0=9F=93=8C=20Bump=20puppeteer=20from=20?=
=?UTF-8?q?22.15.0=20to=2023.2.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.15.0 to 23.2.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.15.0...puppeteer-v23.2.0)
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
---
package-lock.json | 87 ++++++++++++++++++++++++++---------------------
package.json | 2 +-
2 files changed, 49 insertions(+), 40 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 921f66ab..cf7bfe94 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
- "version": "2.75.0",
+ "version": "2.76.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -28,7 +28,7 @@
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.6.5",
- "puppeteer": "^22.15.0",
+ "puppeteer": "^23.2.0",
"rimraf": "^6.0.1",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.7",
@@ -297,12 +297,12 @@
}
},
"node_modules/@puppeteer/browsers": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.3.0.tgz",
- "integrity": "sha512-ioXoq9gPxkss4MYhD+SFaU9p1IHFUX0ILAWFPyjGaBdjLsYAlZw6j1iLA0N/m12uVHLFDfSYNF7EQccjinIMDA==",
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.3.1.tgz",
+ "integrity": "sha512-uK7o3hHkK+naEobMSJ+2ySYyXtQkBxIH8Gn4MK9ciePjNV+Pf+PgY/W7iPzn2MTjl3stcYB5AlcTmPYw7AXDwA==",
"dev": true,
"dependencies": {
- "debug": "^4.3.5",
+ "debug": "^4.3.6",
"extract-zip": "^2.0.1",
"progress": "^2.0.3",
"proxy-agent": "^6.4.0",
@@ -506,13 +506,13 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "22.1.0",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.1.0.tgz",
- "integrity": "sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==",
+ "version": "22.5.1",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.1.tgz",
+ "integrity": "sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==",
"dev": true,
"optional": true,
"dependencies": {
- "undici-types": "~6.13.0"
+ "undici-types": "~6.19.2"
}
},
"node_modules/@types/unist": {
@@ -661,9 +661,9 @@
}
},
"node_modules/bare-stream": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.1.3.tgz",
- "integrity": "sha512-tiDAH9H/kP+tvNO5sczyn9ZAA7utrSMobyDchsnyyXBuUe2FSQWbxhtuHB8jwpHYYevVo2UJpcmvvjrbHboUUQ==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.2.0.tgz",
+ "integrity": "sha512-+o9MG5bPRRBlkVSpfFlMag3n7wMaIZb4YZasU2+/96f+3HTQ4F9DKQeu3K/Sjz1W0umu6xvVq1ON0ipWdMlr3A==",
"dev": true,
"optional": true,
"dependencies": {
@@ -878,9 +878,9 @@
}
},
"node_modules/chromium-bidi": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.3.tgz",
- "integrity": "sha512-qXlsCmpCZJAnoTYI83Iu6EdYQpMYdVkCfq08KDh2pmlVqK5t5IA9mGs4/LwCwp4fqisSOMXZxP3HIh8w8aRn0A==",
+ "version": "0.6.4",
+ "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.4.tgz",
+ "integrity": "sha512-8zoq6ogmhQQkAKZVKO2ObFTl4uOkqoX1PlKQX3hZQ5E9cbUotcAb7h4pTNVAGGv8Z36PF3CtdOriEp/Rz82JqQ==",
"dev": true,
"dependencies": {
"mitt": "3.0.1",
@@ -1646,9 +1646,9 @@
"dev": true
},
"node_modules/devtools-protocol": {
- "version": "0.0.1312386",
- "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1312386.tgz",
- "integrity": "sha512-DPnhUXvmvKT2dFA/j7B+riVLUt9Q6RKJlcppojL5CoRywJJKLDYnRlw0gTFKfgDPHP5E04UoB71SxoJlVZy8FA==",
+ "version": "0.0.1330662",
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1330662.tgz",
+ "integrity": "sha512-pzh6YQ8zZfz3iKlCvgzVCu22NdpZ8hNmwU6WnQjNVquh0A9iVosPtNLWDwaWVGyrntQlltPFztTMK5Cg6lfCuw==",
"dev": true
},
"node_modules/didyoumean": {
@@ -3477,34 +3477,37 @@
}
},
"node_modules/puppeteer": {
- "version": "22.15.0",
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.15.0.tgz",
- "integrity": "sha512-XjCY1SiSEi1T7iSYuxS82ft85kwDJUS7wj1Z0eGVXKdtr5g4xnVcbjwxhq5xBnpK/E7x1VZZoJDxpjAOasHT4Q==",
+ "version": "23.2.0",
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.2.0.tgz",
+ "integrity": "sha512-MP7kLOdCfx1BJaGN5sgRo5fTYwAyGrlwWtrNphjKcwv/HO91+m90gbbwpRHbGl0rCvrmylq6vljn+zrjukniVg==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
- "@puppeteer/browsers": "2.3.0",
+ "@puppeteer/browsers": "2.3.1",
+ "chromium-bidi": "0.6.4",
"cosmiconfig": "^9.0.0",
- "devtools-protocol": "0.0.1312386",
- "puppeteer-core": "22.15.0"
+ "devtools-protocol": "0.0.1330662",
+ "puppeteer-core": "23.2.0",
+ "typed-query-selector": "^2.12.0"
},
"bin": {
- "puppeteer": "lib/esm/puppeteer/node/cli.js"
+ "puppeteer": "lib/cjs/puppeteer/node/cli.js"
},
"engines": {
"node": ">=18"
}
},
"node_modules/puppeteer-core": {
- "version": "22.15.0",
- "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.15.0.tgz",
- "integrity": "sha512-cHArnywCiAAVXa3t4GGL2vttNxh7GqXtIYGym99egkNJ3oG//wL9LkvO4WE8W1TJe95t1F1ocu9X4xWaGsOKOA==",
+ "version": "23.2.0",
+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.2.0.tgz",
+ "integrity": "sha512-OFyPp2oolGSesx6ZrpmorE5tCaCKY1Z5e/h8f6sB0NpiezenB72jdWBdOrvBO/bUXyq14XyGJsDRUsv0ZOPdZA==",
"dev": true,
"dependencies": {
- "@puppeteer/browsers": "2.3.0",
- "chromium-bidi": "0.6.3",
+ "@puppeteer/browsers": "2.3.1",
+ "chromium-bidi": "0.6.4",
"debug": "^4.3.6",
- "devtools-protocol": "0.0.1312386",
+ "devtools-protocol": "0.0.1330662",
+ "typed-query-selector": "^2.12.0",
"ws": "^8.18.0"
},
"engines": {
@@ -3811,9 +3814,9 @@
"dev": true
},
"node_modules/streamx": {
- "version": "2.18.0",
- "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.18.0.tgz",
- "integrity": "sha512-LLUC1TWdjVdn1weXGcSxyTR3T4+acB6tVGXT95y0nGbca4t4o/ng1wKAGTljm9VicuCVLvRlqFYXYy5GwgM7sQ==",
+ "version": "2.19.0",
+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.19.0.tgz",
+ "integrity": "sha512-5z6CNR4gtkPbwlxyEqoDGDmWIzoNJqCBt4Eac1ICP9YaIT08ct712cFj0u1rx4F8luAuL+3Qc+RFIdI4OX00kg==",
"dev": true,
"dependencies": {
"fast-fifo": "^1.3.2",
@@ -4247,6 +4250,12 @@
"integrity": "sha512-aiitkqzmCZIZ9zJr3V6ErVzU/CrKoAkptpv94t0pEKnVn2Ah4jOplXOO/v6Fo9jr3PoTA5dxvlyS4w8rnW/iag==",
"dev": true
},
+ "node_modules/typed-query-selector": {
+ "version": "2.12.0",
+ "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz",
+ "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==",
+ "dev": true
+ },
"node_modules/typeit": {
"version": "8.8.4",
"resolved": "https://registry.npmjs.org/typeit/-/typeit-8.8.4.tgz",
@@ -4288,9 +4297,9 @@
}
},
"node_modules/undici-types": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz",
- "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==",
+ "version": "6.19.8",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
+ "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"dev": true,
"optional": true
},
diff --git a/package.json b/package.json
index 138ce7e2..5921a036 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,7 @@
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.6.5",
- "puppeteer": "^22.15.0",
+ "puppeteer": "^23.2.0",
"rimraf": "^6.0.1",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.7",
From 9a28e2525131cff3eb6dc1494124ca50bf0a8462 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 28 Aug 2024 11:38:34 +0000
Subject: [PATCH 32/34] =?UTF-8?q?=F0=9F=93=8C=20Bump=20prettier-plugin-tai?=
=?UTF-8?q?lwindcss=20from=200.6.5=20to=200.6.6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.5 to 0.6.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.5...v0.6.6)
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
package-lock.json | 12 ++++++++----
package.json | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 275a50aa..55b793fe 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -27,7 +27,7 @@
"packery": "^2.1.2",
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
- "prettier-plugin-tailwindcss": "^0.6.5",
+ "prettier-plugin-tailwindcss": "^0.6.6",
"puppeteer": "^23.2.0",
"rimraf": "^6.0.1",
"tailwind-scrollbar": "^3.1.0",
@@ -3350,9 +3350,9 @@
}
},
"node_modules/prettier-plugin-tailwindcss": {
- "version": "0.6.5",
- "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.5.tgz",
- "integrity": "sha512-axfeOArc/RiGHjOIy9HytehlC0ZLeMaqY09mm8YCkMzznKiDkwFzOpBvtuhuv3xG5qB73+Mj7OCe2j/L1ryfuQ==",
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.6.tgz",
+ "integrity": "sha512-OPva5S7WAsPLEsOuOWXATi13QrCKACCiIonFgIR6V4lYv4QLp++UXVhZSzRbZxXGimkQtQT86CC6fQqTOybGng==",
"dev": true,
"engines": {
"node": ">=14.21.3"
@@ -3369,6 +3369,7 @@
"prettier-plugin-import-sort": "*",
"prettier-plugin-jsdoc": "*",
"prettier-plugin-marko": "*",
+ "prettier-plugin-multiline-arrays": "*",
"prettier-plugin-organize-attributes": "*",
"prettier-plugin-organize-imports": "*",
"prettier-plugin-sort-imports": "*",
@@ -3406,6 +3407,9 @@
"prettier-plugin-marko": {
"optional": true
},
+ "prettier-plugin-multiline-arrays": {
+ "optional": true
+ },
"prettier-plugin-organize-attributes": {
"optional": true
},
diff --git a/package.json b/package.json
index 5f354644..8e3e3615 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"packery": "^2.1.2",
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
- "prettier-plugin-tailwindcss": "^0.6.5",
+ "prettier-plugin-tailwindcss": "^0.6.6",
"puppeteer": "^23.2.0",
"rimraf": "^6.0.1",
"tailwind-scrollbar": "^3.1.0",
From 4a4c13f3a06576059015956a30f3e4643907789b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?=
Date: Wed, 28 Aug 2024 13:25:57 +0100
Subject: [PATCH 33/34] update
---
assets/lib/lite-youtube-embed/lite-yt-embed.js | 15 ++++++++++++++-
.../content/docs/configuration/index.it.md | 2 +-
.../content/docs/getting-started/index.it.md | 2 +-
.../content/docs/homepage-layout/index.it.md | 8 ++++----
4 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/assets/lib/lite-youtube-embed/lite-yt-embed.js b/assets/lib/lite-youtube-embed/lite-yt-embed.js
index 49db80e2..591954b9 100644
--- a/assets/lib/lite-youtube-embed/lite-yt-embed.js
+++ b/assets/lib/lite-youtube-embed/lite-yt-embed.js
@@ -46,10 +46,23 @@ class LiteYTEmbed extends HTMLElement {
this.addNoscriptIframe();
- playBtnEl.removeAttribute('href');
+ // for the PE pattern, change anchor's semantics to button
+ if(playBtnEl.nodeName === 'A'){
+ playBtnEl.removeAttribute('href');
+ playBtnEl.setAttribute('tabindex', '0');
+ playBtnEl.setAttribute('role', 'button');
+ // fake button needs keyboard help
+ playBtnEl.addEventListener('keydown', e => {
+ if( e.key === 'Enter' || e.key === ' ' ){
+ e.preventDefault();
+ this.activate();
+ }
+ });
+ }
// On hover (or tap), warm up the TCP connections we're (likely) about to use.
this.addEventListener('pointerover', LiteYTEmbed.warmConnections, {once: true});
+ this.addEventListener('focusin', LiteYTEmbed.warmConnections, {once: true});
// Once the user clicks, add the real iframe and drop our play button
// TODO: In the future we could be like amp-youtube and silently swap in the iframe during idle time
diff --git a/exampleSite/content/docs/configuration/index.it.md b/exampleSite/content/docs/configuration/index.it.md
index 49c24223..56bf3ab9 100644
--- a/exampleSite/content/docs/configuration/index.it.md
+++ b/exampleSite/content/docs/configuration/index.it.md
@@ -55,7 +55,7 @@ Tieni presente che i nomi delle variabili forniti in questa tabella utilizzano i
Blowfish è stato creato in modo che sia facile aggiungere supporto visivo ai tuoi articoli. Se hai familiarità con la struttura degli articoli di Hugo, devi solo inserire un file immagine (quasi tutti i formati sono supportati ma consigliamo `.png` o `.jpg`) che inizi con `feature*` all'interno della cartella dell'articolo. E questo è tutto, Blowfish sarà quindi in grado di utilizzare l'immagine sia come miniatura all'interno del tuo sito web sia per le schede oEmbed su piattaforme sociali.
-[Qui]({{< ref "thumbnails" >}}) c'è anche una guida con maggiori informazioni e un [esempio]({{< ref "thumbnails_sample" >}}) se vuoi vedere come puoi farlo.
+[Qui]({{< ref "thumbnails" >}}) c'è anche una guida con maggiori informazioni e un [esempio]({{< ref "thumbnail_sample" >}}) se vuoi vedere come puoi farlo.
## Lingua e i18n
diff --git a/exampleSite/content/docs/getting-started/index.it.md b/exampleSite/content/docs/getting-started/index.it.md
index 7cf2962f..cb20912c 100644
--- a/exampleSite/content/docs/getting-started/index.it.md
+++ b/exampleSite/content/docs/getting-started/index.it.md
@@ -266,7 +266,7 @@ Il `name` predefinito è il titolo di `pageRef`, con le caselle.
Blowfish è stato creato in modo che sia facile aggiungere supporto visivo ai tuoi articoli. Se hai familiarità con la struttura degli articoli di Hugo, devi solo inserire un file immagine (quasi tutti i formati sono supportati ma consigliamo `.png` o `.jpg`) che inizi con `feature*` all'interno della cartella dell'articolo. E questo è tutto, Blowfish sarà quindi in grado di utilizzare l'immagine sia come miniatura all'interno del tuo sito web sia per le schede oEmbed attraverso le piattaforme social.
-[Qui]({{< ref "thumbnails" >}}) è anche una guida con maggiori informazioni e un [esempio]({{< ref "thumbnails_sample" >}}) se vuoi vedere come puoi farlo.
+[Qui]({{< ref "thumbnails" >}}) è anche una guida con maggiori informazioni e un [esempio]({{< ref "thumbnail_sample" >}}) se vuoi vedere come puoi farlo.
Additionally, Blowfish also supports background hero images in articles and lists. In order to use a different image than the featured one, add an image file in which the name starts with `background*`.
Inoltre, Blowfish supporta anche una background hero image in articoli ed elenchi. Per utilizzare un'immagine diversa da quella in primo piano, aggiungi un file immagine il cui nome inizia con `background*`.
diff --git a/exampleSite/content/docs/homepage-layout/index.it.md b/exampleSite/content/docs/homepage-layout/index.it.md
index 2427cd38..b6d62a51 100644
--- a/exampleSite/content/docs/homepage-layout/index.it.md
+++ b/exampleSite/content/docs/homepage-layout/index.it.md
@@ -19,7 +19,7 @@ Il layout predefinito è quello del profilo, ideale per i siti web e i blog pers
-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.
+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.
Inoltre, qualsiasi contenuto Markdown fornito nel contenuto della homepage sarà collocato sotto il profilo dell'autore. Ciò consente una maggiore flessibilità per la visualizzazione di una biografia o di altri contenuti personalizzati utilizzando gli shortcode.
@@ -67,7 +67,7 @@ Con il valore di configurazione impostato, creare un nuovo file `custom.html` e
Per includere [articoli recenti](#recent-articles) 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.
+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.
## Articoli recenti
@@ -81,8 +81,8 @@ Gli articoli elencati in questa sezione sono derivati dall'impostazione `mainSec
Blowfish è stato creato in modo che sia facile aggiungere supporto visivo ai tuoi articoli. Se hai familiarità con la struttura dell'articolo di Hugo, devi solo inserire un file immagine (quasi tutti i formati sono supportati ma consigliamo `.png` o `.jpg`) che inizi con `feature*` all'interno della cartella dell'articolo. E questo è tutto, Blowfish sarà quindi in grado di utilizzare l'immagine sia come miniatura all'interno del tuo sito web sia per le schede oEmbed su piattaforme sociali.
-[Qui]({{< ref “thumbnails” >}}) si trova una guida con maggiori informazioni e un [sample]({{< ref “thumbnail_sample” >}}) se si vuole vedere un esempio.
+[Qui]({{< ref "thumbnails" >}}) si trova una guida con maggiori informazioni e un [sample]({{< ref "thumbnail_sample" >}}) se si vuole vedere un esempio.
## Card Gallery
-Blowfish supporta anche la visualizzazione degli elenchi standard di articoli come gallerie di schede. È possibile configurare questo sia per la sezione recente nella homepage che per gli elenchi di articoli nel sito web. Per la homepage si può usare `homepage.cardView` e `homepage.cardViewScreenWidth`; per gli elenchi si può usare `list.cardView` e `list.cardViewScreenWidth`. Per maggiori dettagli, consultare i [docs di configurazione] ({{< ref “configuration” >}}) e la homepage per una dimostrazione dal vivo.
+Blowfish supporta anche la visualizzazione degli elenchi standard di articoli come gallerie di schede. È possibile configurare questo sia per la sezione recente nella homepage che per gli elenchi di articoli nel sito web. Per la homepage si può usare `homepage.cardView` e `homepage.cardViewScreenWidth`; per gli elenchi si può usare `list.cardView` e `list.cardViewScreenWidth`. Per maggiori dettagli, consultare i [docs di configurazione] ({{< ref "configuration" >}}) e la homepage per una dimostrazione dal vivo.
From a517624b706b7871c182a857146c8eff538a672f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?=
Date: Wed, 28 Aug 2024 16:48:38 +0100
Subject: [PATCH 34/34] final changes
---
exampleSite/config/_default/languages.en.toml | 2 +-
exampleSite/config/_default/languages.it.toml | 2 +-
exampleSite/config/_default/languages.ja.toml | 2 +-
exampleSite/config/_default/languages.zh-cn.toml | 2 +-
exampleSite/content/docs/shortcodes/index.md | 2 +-
exampleSite/content/docs/shortcodes/index.zh-cn.md | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/exampleSite/config/_default/languages.en.toml b/exampleSite/config/_default/languages.en.toml
index 672bb394..625760f3 100644
--- a/exampleSite/config/_default/languages.en.toml
+++ b/exampleSite/config/_default/languages.en.toml
@@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "A powerful, lightweight theme for Hugo."
-[author]
+[params.author]
name = "Blowfish"
email = "nuno@n9o.xyz"
image = "img/blowfish_logo.png"
diff --git a/exampleSite/config/_default/languages.it.toml b/exampleSite/config/_default/languages.it.toml
index 77004b5a..cad80e90 100644
--- a/exampleSite/config/_default/languages.it.toml
+++ b/exampleSite/config/_default/languages.it.toml
@@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "Un potente, leggero tema per Hugo."
-[author]
+[params.author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "Un potente, leggero tema per Hugo."
diff --git a/exampleSite/config/_default/languages.ja.toml b/exampleSite/config/_default/languages.ja.toml
index 05d319b5..599f4b18 100644
--- a/exampleSite/config/_default/languages.ja.toml
+++ b/exampleSite/config/_default/languages.ja.toml
@@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "強力で、軽量な Hugo のテーマです。"
-[author]
+[params.author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "強力で、軽量な Hugo のテーマです。"
diff --git a/exampleSite/config/_default/languages.zh-cn.toml b/exampleSite/config/_default/languages.zh-cn.toml
index 9bdfc055..f52dc55d 100644
--- a/exampleSite/config/_default/languages.zh-cn.toml
+++ b/exampleSite/config/_default/languages.zh-cn.toml
@@ -11,7 +11,7 @@ title = "Blowfish"
logo = "img/blowfish_logo_transparent.png"
description = "一个强大、轻量级的 Hugo 主题。"
-[author]
+[params.author]
name = "Blowfish"
image = "img/blowfish_logo.png"
headline = "一个强大、轻量级的 Hugo 主题。"
diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md
index b2b2deb0..9747daf3 100644
--- a/exampleSite/content/docs/shortcodes/index.md
+++ b/exampleSite/content/docs/shortcodes/index.md
@@ -104,7 +104,7 @@ New article!
## Button
-`button` outputs a styled button component which can be used to highlight a primary action. It has two optional variables `href` and `target` which can be used to specify the URL and target of the link.
+`button` outputs a styled button component which can be used to highlight a primary action. It has three optional variables `href`, `target` and `rel` which can be used to specify the URL, target and relation of the link.
**Example:**
diff --git a/exampleSite/content/docs/shortcodes/index.zh-cn.md b/exampleSite/content/docs/shortcodes/index.zh-cn.md
index 25bc4cdb..d33cfa1d 100644
--- a/exampleSite/content/docs/shortcodes/index.zh-cn.md
+++ b/exampleSite/content/docs/shortcodes/index.zh-cn.md
@@ -104,7 +104,7 @@ New article!
## Button
-`button` 输出一个样式化的按钮组件,可用于突出显示主要操作。它有两个可选参数 `href` 和 `target` ,可用于指定链接的 URL 或目标文档。
+`button` 输出一个样式化的按钮组件,可用于突出显示主要操作。它有三个可选变量 `href`、`target` 和 `rel`,可用于指定链接的 URL、目标和关系。
**例如:**