4022 Commits

Author SHA1 Message Date
Tim Cappalli 49ec3b5a01 showCategoryOnly config 2025-05-11 14:57:19 -04:00
ZhenShuo Leo 61fcafc319 🐛 fix: article shortcode across languages (#2130) 2025-05-11 21:18:05 +08:00
ZhenShuo Leo c705186e41 🐛 fix: footer not expand in zen-mode 2025-05-11 18:11:24 +08:00
Lin, Chiang-Yu 6281f6661d Enable Goldmark passthrough extension for math rendering
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/)
2025-05-08 03:21:33 +08:00
ZhenShuo Leo ea7b69f4e6 🩹 Chore: tweak processUsers.js to reduce feature image size (#980)
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.
2025-05-07 23:50:15 +08:00
ZhenShuo Leo 3081c5f1d1 📝 Docs: correct timeline in Chinese docs 2025-05-07 20:54:36 +08:00
ZhenShuo Leo 45c5ddbdaf 🐛 Fix: prevent header from blocking footnotes links 2025-05-07 19:27:16 +08:00
ZhenShuo Leo a9996082c4 📝 Docs: fix broken image links 2025-05-07 19:20:14 +08:00
ZhenShuo Leo c20a86585e 📝 Docs: fix all anchor links
Work along with #2122
2025-05-07 17:58:04 +08:00
ZhenShuo Leo 6e49bfac5e 🐛 Fix: anchor not working for non-ascii characters
Fix in-page anchor links by replacing urlize to anchorize
2025-05-07 16:10:00 +08:00
dependabot[bot] f77272fed0 💄 Rebuild CSS 2025-05-07 05:11:30 +00:00
dependabot[bot] 1448746ce9 📌 Bump @tailwindcss/cli from 4.1.4 to 4.1.5
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] <support@github.com>
2025-05-07 05:11:05 +00:00
ZhenShuo Leo 73cbdae595 Feat: support extend-head access .Page (#1781)
Use extend-head-uncached.html for downward compatibility
2025-05-06 23:55:47 +08:00
ZhenShuo Leo 772bcfb879 Feat: add option disableHeroImageFilter on homepage (#2029)
disableHeroImageFilter deault to false. When set to true, it uses the color
style from the background layout.
2025-05-06 21:42:12 +08:00
ZhenShuo Leo adc828128d 🐛 Fix: codeblock highlight in .prose-invert 2025-05-06 20:03:13 +08:00
ZhenShuo Leo c941b70c60 📝 Docs: update codeblock language 2025-05-06 18:04:32 +08:00
ZhenShuo Leo e169dfa5ec Fix: disable the search keyboard shortcut in a form (#2041) 2025-05-06 17:32:04 +08:00
ZhenShuo Leo 7c13ba985f 🐛 Fix: truncation text in copy-button 2025-05-06 17:25:46 +08:00
ZhenShuo Leo c4d7112520 Update Hugo supported version 2025-05-05 10:33:17 +08:00
ZhenShuo Leo c59cb293bf Feat: Prevent ToC flicker on initial load
Use CSS to control ToC height instead of JavaScript to prevent flickering.
2025-05-05 08:30:34 +08:00
ZhenShuo Leo 6fb8b945d7 🐛 Table of Contents takes too much space (#1607) 2025-05-05 08:27:22 +08:00
José Manuel Mariño Mariño ec09dd41e6 Update gl.yaml
Update Galician language
2025-05-03 19:07:48 +02:00
ZhenShuo Leo 6486908601 Feat: gallery shortcode supports all kinds of input
Also trim white spaces
2025-05-04 00:27:31 +08:00
ZhenShuo Leo 806a8612b8 chore: add usage example in document site 2025-05-03 19:53:48 +08:00
ZhenShuo Leo f19c61cb97 🐛 Fix: make thumbAndBackground behavior consistent
Add support for URL input, matching the behavior of other hero partials.
2025-05-03 18:30:32 +08:00
ZhenShuo Leo 3afe8b5e00 chore: correct typo (#1491) (#2100) 2025-05-03 03:14:29 +08:00
ZhenShuo Leo e4b76d6fce feat: add defaultSocialImage (#1491) (#2100)
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.
2025-05-03 03:07:00 +08:00
Marian Steinbach 8b0b0b9c80 Add Pixelfed icon 2025-05-02 17:40:32 +02:00
Marian Steinbach a109230b22 Add PeerTube icon 2025-05-02 17:17:46 +02:00
Ariel Góes de Castro bc235ae526 Update users.json 2025-05-02 16:35:51 +02:00
Nuno Coração de9a38161a updated version 2025-05-02 11:40:52 +01:00
Nuno Coração 1d21656d5e Merge pull request #2088 from nunocoracao/dev
🔖 v2.85.1
v2.85.1
2025-05-02 11:40:00 +01:00
Nuno Coração 1731c36c7c Merge pull request #2091 from ZhenShuo2021/fix/gallery-path
🐛 fix: incorrect path for gallery (#2042)
2025-05-02 11:38:31 +01:00
Nuno Coração a219b38010 Merge pull request #2092 from ZhenShuo2021/fix/i18n-code
🐛 fix: i18n items of code don't work (#1965)
2025-05-02 11:36:21 +01:00
Nuno Coração 70586cab25 Merge pull request #2090 from ZhenShuo2021/fix/github-card
🐛 fix: hugo minify breaks github card (#1434)
2025-05-02 11:34:37 +01:00
Nuno Coração 6fafc4b628 Merge pull request #2089 from nunocoracao/hugo-new-version
⚙️ Update Hugo supported version
2025-05-02 11:33:48 +01:00
Nuno Coração b3dcccf856 updated version 2025-05-02 11:33:18 +01:00
ZhenShuo Leo faa22c47d8 🐛 fix: i18n items of code don't work (#1965) 2025-05-02 18:20:41 +08:00
ZhenShuo Leo 6f33b9d5cf 🐛 fix: incorrect path for gallery
Fix this issue with resource.RelPermalink
2025-05-02 17:43:56 +08:00
ZhenShuo Leo 7072628632 🐛 fix: hugo minify breaks github card (#1434)
Add a div wrapper to avoid incorrect minification by hugo.

Tested with sample https://codeberg.org/cthru/blowfish_test/src/branch/master/content/tests/1716983769844-github-card-test/index.md#
2025-05-02 14:46:32 +08:00
nunocoracao f0267b0338 Update Hugo supported version 2025-05-02 06:06:58 +00:00
Nuno Coração d4538c93ec removed likes from examples 2025-05-01 17:53:48 +01:00
Nuno Coração 2d053f76c4 udpated stale.yaml 2025-05-01 17:41:14 +01:00
Nuno Coração e6927136a4 udpated stale.yaml 2025-05-01 17:38:49 +01:00
Nuno Coração a29c3734cb v2.86.0 2025-05-01 17:26:23 +01:00
Nuno Coração ec252d1854 Merge pull request #2033 from nunocoracao/dev
🔖 v2.85.0
v2.85.0
2025-05-01 17:21:31 +01:00
Nuno Coração ad6061c9cf Merge pull request #2086 from nunocoracao/update-gha
⚙️ Update gha
2025-05-01 17:19:34 +01:00
Nuno Coração 0b8946933b udpated gha 2025-05-01 17:18:51 +01:00
Nuno Coração 04532c7c29 udpated gha 2025-05-01 17:15:18 +01:00
Nuno Coração 5c7d489f4e updated user tiles 2025-05-01 17:11:50 +01:00