Commit Graph

3112 Commits

Author SHA1 Message Date
Nuno Coração
22b55a2982 Merge pull request #2152 from nunocoracao/hugo-new-version
⚙️ Update Hugo supported version
2025-05-26 23:30:02 +01:00
ZhenShuo Leo
69fc96ed5b feat: add new option disableImageOptimizationMD 2025-05-27 04:19:51 +08:00
ZhenShuo Leo
deec874d7c 📝 docs: restore missing shortcode in zh-cn and it docs 2025-05-26 13:31:12 +08:00
ZhenShuo Leo
eb0d04a014 feat: add gist shortcode 2025-05-26 13:09:08 +08:00
ZhenShuo Leo
bc6d4d86c7 📝 docs: update shortcoode from twitter_simple to x 2025-05-26 13:08:37 +08:00
Aleksey @soar Smyrnov
2bbcd3ab8c feat(shortcodes): Display a thumbnail for GitHub repos 2025-05-25 16:08:20 -07:00
ZhenShuo Leo
86fa25f27f chore: unify variable naming conventions 2025-05-26 00:21:37 +08:00
ZhenShuo Leo
eb0afc16ea 📝 docs: update documentation for render-image fix 2025-05-26 00:05:03 +08:00
ZhenShuo Leo
6ab1964e22 ♻️ refactor: encapsulates functions in render-image.html 2025-05-25 23:29:48 +08:00
ZhenShuo Leo
4688d1e8c4 🐛 fix: correct the attributes of img tag 2025-05-25 22:36:26 +08:00
ZhenShuo Leo
5afceca56a 🐛 fix: make cursor pointer correctly on all buttons
Restore button CSS behavior from ef5186c

ef5186ce4c/assets/css/compiled/main.css (L522)
2025-05-25 04:58:43 +08:00
ZhenShuo Leo
30d74227df 🐛 fix: cursor pointer on all buttons 2025-05-25 04:27:38 +08:00
ZhenShuo Leo
7c70f27a62 🐛 fix: hugo minify breaks repo cards
Make all repo cards behave consistently as in #2090
2025-05-25 03:59:15 +08:00
ZhenShuo Leo
079660d207 🐛 fix: cursor pointer on show more link button 2025-05-25 01:48:30 +08:00
nunocoracao
5c905b1a56 Update Hugo supported version 2025-05-23 06:06:56 +00:00
dependabot[bot]
e8411dfe64 💄 Rebuild CSS 2025-05-21 05:54:34 +00:00
dependabot[bot]
7f95fe7164 💄 Rebuild CSS 2025-05-21 05:54:25 +00:00
dependabot[bot]
3fd762f22b 💄 Rebuild CSS 2025-05-21 05:54:15 +00:00
dependabot[bot]
90d9219c6d 📌 Bump @headlessui/react from 2.2.3 to 2.2.4
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.4/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 05:54:08 +00:00
dependabot[bot]
845e4b3ebb 📌 Bump puppeteer from 24.8.2 to 24.9.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.8.2 to 24.9.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.8.2...puppeteer-v24.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 05:53:56 +00:00
dependabot[bot]
b1d1e967c7 📌 Bump commander from 13.1.0 to 14.0.0
Bumps [commander](https://github.com/tj/commander.js) from 13.1.0 to 14.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v13.1.0...v14.0.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-version: 14.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 05:53:45 +00:00
Nuno Coração
bcc95318ec Merge pull request #2140 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/cli-4.1.6
📌 Bump @tailwindcss/cli from 4.1.4 to 4.1.6
2025-05-20 16:48:39 +01:00
dependabot[bot]
0f6d0df82c 📌 Bump @tailwindcss/cli from 4.1.4 to 4.1.6
Bumps [@tailwindcss/cli](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-cli) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/@tailwindcss-cli)

---
updated-dependencies:
- dependency-name: "@tailwindcss/cli"
  dependency-version: 4.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-20 15:48:30 +00:00
Nuno Coração
835e1adfd2 Merge pull request #2121 from nunocoracao/hugo-new-version
⚙️ Update Hugo supported version
2025-05-20 16:48:13 +01:00
Nuno Coração
8a76760e7e Merge pull request #2142 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss-4.1.6
📌 Bump tailwindcss from 4.1.4 to 4.1.6
2025-05-20 16:48:03 +01:00
Nuno Coração
46d4c02fdc Merge pull request #2141 from nunocoracao/dependabot/npm_and_yarn/dev/headlessui/react-2.2.3
📌 Bump @headlessui/react from 2.2.2 to 2.2.3
2025-05-20 16:47:44 +01:00
dependabot[bot]
67d893b5dd 📌 Bump tailwindcss from 4.1.4 to 4.1.6
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-20 15:47:13 +00:00
Nuno Coração
79bb4b6f5d Merge pull request #2139 from nunocoracao/dependabot/npm_and_yarn/dev/puppeteer-24.8.2
📌 Bump puppeteer from 24.7.2 to 24.8.2
2025-05-20 16:46:35 +01:00
Nuno Coração
17979638e8 Merge pull request #2119 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/cli-4.1.5
📌 Bump @tailwindcss/cli from 4.1.4 to 4.1.5
2025-05-20 16:45:57 +01:00
papo1011
1784896021 update users.json 2025-05-18 14:23:44 +02:00
ZhenShuo Leo
8be58016ae feat: allow self-linking in article shortcode 2025-05-15 14:52:47 +08:00
ZhenShuo Leo
3d0b59f413 🐛 fix: katex block overflow (#2138) 2025-05-14 20:47:18 +08:00
ZhenShuo2021
6b0db754f7 chore: fix typo 2025-05-14 20:01:39 +08:00
ZhenShuo Leo
48e66514f9 🧑‍💻 chore: add options for faster development
Add example:site_core and example:site_core:en_only for faster development

We need development/hugo.toml since the segments still renders images.
See object graph in https://gohugo.io/configuration/segments/
2025-05-14 18:02:30 +08:00
dependabot[bot]
cc14bed6a1 📌 Bump @headlessui/react from 2.2.2 to 2.2.3
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v2.2.3/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-version: 2.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-14 05:09:01 +00:00
dependabot[bot]
5ba591bf0e 📌 Bump puppeteer from 24.7.2 to 24.8.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.7.2 to 24.8.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.7.2...puppeteer-v24.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-14 05:08:39 +00:00
kyo_123
6f57e69985 Add Kyo's Garden to users list 2025-05-13 17:39:03 +08:00
nunocoracao
a8f016cce3 Update Hugo supported version 2025-05-13 06:06:38 +00:00
ZhenShuo Leo
8fe07b5550 chore: tweak distance for context 2025-05-12 22:47:16 +08:00
Tim Cappalli
5a9e92d81b Add showCategoryOnly to params 2025-05-11 14:58:20 -04:00
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