Compare commits

..

20 Commits

Author SHA1 Message Date
Nuno Coração
ddf79f4573 Merge pull request #1202 from nunocoracao/dev
🔖 v2.54.0
2024-02-04 21:12:16 +00:00
Nuno Coração
008347865d process users 2024-02-04 21:11:50 +00:00
Nuno Coração
9efba1ffe1 add xing icon to docs 2024-02-04 21:10:31 +00:00
Nuno Coração
eefbba7f2d Merge pull request #1207 from SmileGuide/patch-1
Update users.json
2024-02-04 21:08:24 +00:00
Nuno Coração
8a2eaff8fa Merge pull request #1208 from SmileGuide/SmileGuide-patch-1
Correct i18n strings
2024-02-04 21:08:04 +00:00
Nuno Coração
2c3141f67a Merge pull request #1204 from arunoruto/main
Add xing support for social links
2024-02-04 21:07:04 +00:00
Nuno Coração
549d7d48ff Merge pull request #1205 from nunocoracao/dependabot/npm_and_yarn/dev/puppeteer-21.10.0
📌 Bump puppeteer from 21.7.0 to 21.10.0
2024-02-04 21:05:32 +00:00
Karlukle
5c6b8dc7d5 Correct i18n strings
Translated Simplified Chinese items retained in English (in zh-CN.yaml).
2024-02-03 11:16:26 +08:00
Karlukle
f4c1e17906 Update users.json
Add my blowfish website to the user list
2024-02-03 10:51:10 +08:00
dependabot[bot]
11e091a1e6 📌 Bump puppeteer from 21.7.0 to 21.10.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 21.7.0 to 21.10.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.7.0...puppeteer-v21.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 05:21:37 +00:00
arunoruto
e4096c80ca Add xing support for social links 2024-01-30 14:18:59 +01:00
Nuno Coração
602b012bfe small url fix 2024-01-28 17:16:20 +00:00
Nuno Coração
b37fe87c3c update theme version 2024-01-28 17:11:40 +00:00
Nuno Coração
863354a960 Merge pull request #1197 from nunocoracao/dev
🔖 v2.53.0
2024-01-28 17:10:16 +00:00
Nuno Coração
8c4fb4d64c fix small default 2024-01-28 17:09:49 +00:00
Nuno Coração
f85443d3d5 Merge pull request #1200 from nunocoracao/1190-display-date-solely-in-article-details-not-in-cards
 add showDateOnlyInArticle parameter
2024-01-28 17:07:23 +00:00
Nuno Coração
392e89722d fix gallery js code 2024-01-28 17:06:04 +00:00
Nuno Coração
f481e64411 Merge pull request #1199 from nunocoracao/1198-gallery-shortcode-not-loading-correctly
🐛 fix gallery js code
2024-01-28 16:31:17 +00:00
Nuno Coração
c97a2b0d04 fix gallery js code 2024-01-28 16:30:35 +00:00
Nuno Coração
e06f703799 bump version 2024-01-27 21:10:30 +00:00
14 changed files with 90 additions and 62 deletions

1
assets/icons/xing.svg Normal file
View File

@@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Xing</title><path fill="currentColor" d="M18.188 0c-.517 0-.741.325-.927.66 0 0-7.455 13.224-7.702 13.657.015.024 4.919 9.023 4.919 9.023.17.308.436.66.967.66h3.454c.211 0 .375-.078.463-.22.089-.151.089-.346-.009-.536l-4.879-8.916c-.004-.006-.004-.016 0-.022L22.139.756c.095-.191.097-.387.006-.535C22.056.078 21.894 0 21.686 0h-3.498zM3.648 4.74c-.211 0-.385.074-.473.216-.09.149-.078.339.02.531l2.34 4.05c.004.01.004.016 0 .021L1.86 16.051c-.099.188-.093.381 0 .529.085.142.239.234.45.234h3.461c.518 0 .766-.348.945-.667l3.734-6.609-2.378-4.155c-.172-.315-.434-.659-.962-.659H3.648v.016z"/></svg>

After

Width:  |  Height:  |  Size: 675 B

View File

@@ -7,7 +7,8 @@ function _getDefaultPackeryOptions() {
}
(function init() {
window.addEventListener("DOMContentLoaded", (event) => {
$(window).on("load", function () {
console.groupCollapsed('[DEBUG] Gallery feature enable');
let packeries = [];
let nodeGalleries = document.querySelectorAll('.gallery');

View File

@@ -50,6 +50,7 @@ disableTextInHeader = false
showDate = true
showViews = false
showLikes = false
showDateOnlyInArticle = false
showDateUpdated = false
showAuthor = true
showHero = false

View File

@@ -50,6 +50,7 @@ smartTOCHideUnfocusedChildren = false
showDate = false
showViews = true
showLikes = true
showDateOnlyInArticle = false
showDateUpdated = false
showAuthor = true
showHero = true

View File

@@ -203,7 +203,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `homepage.homepageImage` | _Not set_ | Image to be used in `hero` and `card` layouts. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
| `homepage.showRecent` | `false` | Whether or not to display the recent articles list on the homepage. |
| `homepage.showRecentItems` | 5 | How many articles to display if showRecent is true. If variable is set to 0 or if it isn't defined the system will default to 5 articles. |
| `homepage.showMoreLink` | `false` | Whether or not to display a show more link at the end of your posts that takes the user to a predefined place. |
| `homepage.showMoreLink` | `false` | Whether or not to display a show more link at the end of your posts that takes the user to a predefined place. |
| `homepage.showMoreLinkDest` | `/posts` | The destination of the show more button. |
| `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. |
@@ -215,6 +215,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `article.showDate` | `true` | Whether or not article dates are displayed. |
| `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. |
| `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. |
| `article.showDateOnlyInArticle` | `false` | Show date within article even if not displayed in article listings/cards. |
| `article.showDateUpdated` | `false` | Whether or not the dates articles were updated are displayed. |
| `article.showAuthor` | `true` | Whether or not the author box is displayed in the article footer. |
| `article.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each article page. |
@@ -239,7 +240,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", and "telegram" |
| `article.showZenMode` | `false` | Flag to activate Zen Mode reading feature for articles. |
| `article.showZenMode` | `false` | Flag to activate Zen Mode reading feature for articles. |
### List

View File

@@ -1,5 +1,5 @@
---
title: "Blowfish Tutorial"
date: 2023-10-02
externalUrl: "hhttps://blowfish-tutorial.web.app/"
externalUrl: "https://blowfish-tutorial.web.app/"
---

View File

@@ -109,5 +109,6 @@ The full list of built-in icons and their corresponding names can referenced bel
| wand-magic-sparkles | {{< icon wand-magic-sparkles >}} |
| whatsapp | {{< icon whatsapp >}} |
| x-twitter | {{< icon x-twitter >}} |
| xing | {{< icon xing >}} |
| xmark | {{< icon xmark >}} |
| youtube | {{< icon youtube >}} |

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@@ -0,0 +1,13 @@
---
title: "smileguide.github.io"
tags: [Personal site]
externalUrl: "https://smileguide.github.io"
date: 9919-08-08
showDate: false
showAuthor: false
showReadingTime: false
showEdit: false
showLikes: false
showViews: false
layoutBackgroundHeaderSpace: false

View File

@@ -566,5 +566,12 @@
"tags": [
"Personal blog"
]
},
{
"title": "smileguide.github.io",
"url": "https://smileguide.github.io",
"tags": [
"Personal site"
]
}
]
]

View File

@@ -14,10 +14,10 @@ article:
word_count:
one: "{{ .Count }} 字"
other: "{{ .Count }} 字"
part_of_series: "This article is part of a series."
part: "Part"
this_article: "This Article"
related_articles: "Related"
part_of_series: "这篇文章属于一个选集。"
part: "§"
this_article: "本文"
related_articles: "相关文章"
author:
byline_title: "作者"
@@ -61,4 +61,4 @@ shortcode:
recent_articles: "最近的文章"
recent:
show_more: "显示更多"
show_more: "显示更多"

View File

@@ -14,6 +14,8 @@
{{/* Gather partials for this context */}}
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
{{ $meta.Add "partials" (slice (partial "meta/date.html" .Date)) }}
{{else if and (eq $scope "single") (.Params.showDateOnlyInArticle | default (.Site.Params.article.showDateOnlyInArticle | default false)) }}
{{ $meta.Add "partials" (slice (partial "meta/date.html" .Date)) }}
{{ end }}
{{ if and (.Params.showDateUpdated | default (.Site.Params.article.showDateUpdated | default false)) (ne (partial

100
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "hugo-blowfish-theme",
"version": "2.52.0",
"version": "2.54.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hugo-blowfish-theme",
"version": "2.52.0",
"version": "2.54.0",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
@@ -25,7 +25,7 @@
"prettier": "^3.2.4",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.11",
"puppeteer": "^21.7.0",
"puppeteer": "^21.10.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.1",
"tw-elements": "1.1.0",
@@ -45,12 +45,12 @@
}
},
"node_modules/@babel/code-frame": {
"version": "7.22.13",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
"integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
"version": "7.23.5",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",
"integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==",
"dev": true,
"dependencies": {
"@babel/highlight": "^7.22.13",
"@babel/highlight": "^7.23.4",
"chalk": "^2.4.2"
},
"engines": {
@@ -67,9 +67,9 @@
}
},
"node_modules/@babel/highlight": {
"version": "7.22.20",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
"integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
"version": "7.23.4",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
"integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
"dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.20",
@@ -306,9 +306,9 @@
"dev": true
},
"node_modules/@types/node": {
"version": "20.10.8",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.8.tgz",
"integrity": "sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA==",
"version": "20.11.13",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz",
"integrity": "sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==",
"dev": true,
"optional": true,
"dependencies": {
@@ -625,13 +625,13 @@
}
},
"node_modules/chromium-bidi": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.2.tgz",
"integrity": "sha512-PbVOSddxgKyj+JByqavWMNqWPCoCaT6XK5Z1EFe168sxnB/BM51LnZEPXSbFcFAJv/+u2B4XNTs9uXxy4GW3cQ==",
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.6.tgz",
"integrity": "sha512-ber8smgoAs4EqSUHRb0I8fpx371ZmvsdQav8HRM9oO4fk5Ox16vQiNYXlsZkRj4FfvVL2dCef+zBFQixp+79CA==",
"dev": true,
"dependencies": {
"mitt": "3.0.1",
"urlpattern-polyfill": "9.0.0"
"urlpattern-polyfill": "10.0.0"
},
"peerDependencies": {
"devtools-protocol": "*"
@@ -761,15 +761,15 @@
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
},
"node_modules/cosmiconfig": {
"version": "8.3.6",
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz",
"integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==",
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz",
"integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==",
"dev": true,
"dependencies": {
"env-paths": "^2.2.1",
"import-fresh": "^3.3.0",
"js-yaml": "^4.1.0",
"parse-json": "^5.2.0",
"path-type": "^4.0.0"
"parse-json": "^5.2.0"
},
"engines": {
"node": ">=14"
@@ -891,9 +891,9 @@
}
},
"node_modules/devtools-protocol": {
"version": "0.0.1203626",
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1203626.tgz",
"integrity": "sha512-nEzHZteIUZfGCZtTiS1fRpC8UZmsfD1SiyPvaUNvS13dvKf666OAm8YTi0+Ca3n1nLEyu49Cy4+dPWpaHFJk9g==",
"version": "0.0.1232444",
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1232444.tgz",
"integrity": "sha512-pM27vqEfxSxRkTMnF+XCmxSEb6duO5R+t8A9DEEJgy4Wz2RVanje2mmj99B6A3zv2r/qGfYlOvYznUhuokizmg==",
"dev": true
},
"node_modules/didyoumean": {
@@ -927,6 +927,15 @@
"once": "^1.4.0"
}
},
"node_modules/env-paths": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
"integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
"dev": true,
"engines": {
"node": ">=6"
}
},
"node_modules/error-ex": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
@@ -1849,15 +1858,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/path-type": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
"dev": true,
"engines": {
"node": ">=8"
}
},
"node_modules/pend": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
@@ -2183,15 +2183,15 @@
}
},
"node_modules/puppeteer": {
"version": "21.7.0",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.7.0.tgz",
"integrity": "sha512-Yy+UUy0b9siJezbhHO/heYUoZQUwyqDK1yOQgblTt0l97tspvDVFkcW9toBlnSvSfkDmMI3Dx9cZL6R8bDArHA==",
"version": "21.10.0",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-21.10.0.tgz",
"integrity": "sha512-Y1yQjcLE00hHTDAmv3M3A6hhW0Ytjdp6xr6nyjl7FZ7E7hzp/6Rsw80FbaTJzJHFCplBNi082wrgynbmD7RlYw==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
"@puppeteer/browsers": "1.9.1",
"cosmiconfig": "8.3.6",
"puppeteer-core": "21.7.0"
"cosmiconfig": "9.0.0",
"puppeteer-core": "21.10.0"
},
"bin": {
"puppeteer": "lib/esm/puppeteer/node/cli.js"
@@ -2201,16 +2201,16 @@
}
},
"node_modules/puppeteer-core": {
"version": "21.7.0",
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.7.0.tgz",
"integrity": "sha512-elPYPozrgiM3phSy7VDUJCVWQ07SPnOm78fpSaaSNFoQx5sur/MqhTSro9Wz8lOEjqCykGC6WRkwxDgmqcy1dQ==",
"version": "21.10.0",
"resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-21.10.0.tgz",
"integrity": "sha512-NVaqO3K462qwMuLO4Gurs/Mau1Wss+08QgNYzF0dIqZWMvpskrt/TbxbmHU+7zMTUOvPEq/lR4BLJmjMBgBGfQ==",
"dev": true,
"dependencies": {
"@puppeteer/browsers": "1.9.1",
"chromium-bidi": "0.5.2",
"chromium-bidi": "0.5.6",
"cross-fetch": "4.0.0",
"debug": "4.3.4",
"devtools-protocol": "0.0.1203626",
"devtools-protocol": "0.0.1232444",
"ws": "8.16.0"
},
"engines": {
@@ -2812,9 +2812,9 @@
}
},
"node_modules/tar-stream": {
"version": "3.1.6",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz",
"integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==",
"version": "3.1.7",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz",
"integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==",
"dev": true,
"dependencies": {
"b4a": "^1.6.4",
@@ -2997,9 +2997,9 @@
}
},
"node_modules/urlpattern-polyfill": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-9.0.0.tgz",
"integrity": "sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g==",
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz",
"integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==",
"dev": true
},
"node_modules/util-deprecate": {

View File

@@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
"version": "2.52.0",
"version": "2.54.0",
"description": "Blowfish theme for Hugo",
"scripts": {
"postinstall": "vendor-copy",
@@ -43,7 +43,7 @@
"prettier": "^3.2.4",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.11",
"puppeteer": "^21.7.0",
"puppeteer": "^21.10.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.1",
"tw-elements": "1.1.0",