Commit Graph

3559 Commits

Author SHA1 Message Date
ZhenShuo Leo
340364f31a feat(article-link): use semantic HTML 2025-09-16 15:08:36 +08:00
ZhenShuo Leo
5bab41062a refactor(article-link): remove unnecessary with syntax 2025-09-16 15:08:35 +08:00
ZhenShuo Leo
b1b7aa1f42 feat(article-link): reimplement card hover using ::before method
The previous method was not intuitive since there was nothing in the <a> tag,
and required group-xxx classes for every element.

The new pseudo element method fixes those problems, see:

https://kittygiraudel.com/2022/04/02/accessible-cards/
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
8911ac843a chore(term-link): remove unused .Params.images 2025-09-16 15:08:35 +08:00
ZhenShuo Leo
cb479d5693 feat(hero): support internal links for featureimage
This commit also gives the `featureimage` frontmatter the highest priority, preventing it from being overridden by hidden logic.
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
9c1d56e0e7 feat(article-link): support internal links for featureimage
This commit also gives the `featureimage` frontmatter the highest priority, preventing it from being overridden by hidden logic.
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
6d6b5d3946 fix(article-link): skip fetching images when hideFeatureImage is true 2025-09-16 15:08:35 +08:00
ZhenShuo Leo
ff3a6b4253 fix(article-link): explicitly set featured priority 2025-09-16 15:08:35 +08:00
ZhenShuo Leo
0f7f27b916 refactor(article-link): separate Go templates from HTML rendering
Add descriptions for the purpose of each template.
It takes time to figure out their use every time.
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
c8ee5fc657 refactor(article-link): unify featured image rendering with MediaType check 2025-09-16 15:08:35 +08:00
ZhenShuo Leo
e3194eca1e chore(article-link): remove unused .Params.images
The `.Params.images` and `.Site.Params.images` have existed since the creation of the files
but have never been referenced in the documentation since their initial commit (3cc1569fc1)

Also, Meta tags are not valid inside card elements
2025-09-16 15:08:22 +08:00
Nuno Coração
ade5f2c6d6 🔖 v2.91.0 2025-09-15 23:30:30 +01:00
Nuno Coração
174138d4b4 final polish 2025-09-15 23:25:23 +01:00
Nuno C.
488be56b5f Merge pull request #2466 from ZhenShuo2021/feat/repo-card-csp
 Feat(repo-card): remove inline style
2025-09-15 23:08:42 +01:00
Nuno C.
53eff2b690 Merge pull request #2465 from ZhenShuo2021/feat/timeline-md
 Feat(timeline): support markdown content
2025-09-15 23:08:24 +01:00
Nuno C.
c14887e992 Merge pull request #2456 from ZhenShuo2021/fix/a11y
🐛 Fix(a11y): multiple a11y issues
2025-09-15 23:04:54 +01:00
Nuno C.
e6cd7a9948 Merge pull request #2426 from ZhenShuo2021/fix/code-copy
🐛 Fix(code.js): filter line number on code copy
2025-09-15 23:03:55 +01:00
Nuno C.
64aed3c6e7 Merge pull request #2403 from ZhenShuo2021/fix/figure-link-area
🐛 Fix(figure): limit link hover area to image only
2025-09-15 23:03:33 +01:00
Nuno C.
d8add6e15f Merge pull request #2399 from ZhenShuo2021/feat/enable-tailwind-colors
 Feat(tailwind): enable default colors
2025-09-15 23:02:55 +01:00
Nuno C.
ecd990b5e5 Merge pull request #2397 from ZhenShuo2021/chore/prune-tailwind-classes
🔧 Chore: prune unused Tailwind classes
2025-09-15 23:02:30 +01:00
Nuno C.
295ce738be Merge pull request #2393 from ZhenShuo2021/fix/rtl-layout-issues
🐛 Fix(rtl): multiple layout issues
2025-09-15 23:02:11 +01:00
Nuno C.
ed6fb66bbe Merge pull request #2391 from ZhenShuo2021/refactor/logical-properties
♻️ Refactor(CSS): use logical properties for language direction
2025-09-15 23:01:41 +01:00
Nuno C.
6e9fa7825b Merge pull request #2408 from bilyes/add-missing-share-mastodon-title
Fix(link-title): Add missing English title for the share to Mastodon link.
2025-09-15 22:59:50 +01:00
Nuno C.
8deb28fb6c Merge pull request #2409 from breard-r/author_link_title
Add a title to the author links
2025-09-15 22:59:27 +01:00
Nuno C.
6f5d15a938 Merge pull request #2427 from ZhenShuo2021/chore/issue-version-check
🔧 Chore: add Hugo version check to bug report
2025-09-15 22:58:13 +01:00
Nuno C.
2e52ed70cc Merge pull request #2457 from Flyburg/patch-doc
📝 Docs: Add description of "showThumbnail" option of GitHub shortcodes.
2025-09-15 22:55:43 +01:00
Nuno C.
f67647f2f0 Merge pull request #2468 from ZhenShuo2021/docs/fingerprintAlgorithm
📝 Docs: update documentation for fingerprintAlgorithm
2025-09-15 22:55:18 +01:00
Nuno C.
ce1b0abc7d Merge pull request #2458 from githubdand/patch-2
Update users.json
2025-09-15 22:54:22 +01:00
Nuno C.
c6f205d41f Merge branch 'dev' into patch-2 2025-09-15 22:54:13 +01:00
Nuno C.
328bfb553f Merge pull request #2450 from LarvenStein/patch-1
Adding myself to users :)
2025-09-15 22:53:40 +01:00
Nuno C.
7586dd8997 Merge branch 'dev' into patch-1 2025-09-15 22:53:26 +01:00
Nuno C.
84a23d7e1f Merge pull request #2434 from kieran-lowe/feat/users
feat: add user to users
2025-09-15 22:52:55 +01:00
Nuno C.
7890d88c12 Merge branch 'dev' into feat/users 2025-09-15 22:52:23 +01:00
Nuno C.
541f40c370 Merge pull request #2432 from CodeBotD/patch-2
Added A Blowfish User 🐟
2025-09-15 22:51:34 +01:00
Nuno C.
73b3814e7b Merge branch 'dev' into patch-2 2025-09-15 22:51:27 +01:00
Nuno C.
c52f47ae4b Merge pull request #2411 from jnonino/patch-1
Add Learn-Software.com to users.json
2025-09-15 22:50:12 +01:00
Nuno C.
2ff69874c1 Merge pull request #2394 from ZhenShuo2021/fix/fetch-repo
🐛 Fix(fetch-repo): skip DOM updates for invalid remote data
2025-09-15 22:48:56 +01:00
Nuno C.
d4f703b397 Merge pull request #2407 from nunocoracao/dependabot/npm_and_yarn/dev/headlessui/react-2.2.7
📌 Bump @headlessui/react from 2.2.6 to 2.2.7
2025-09-15 22:45:19 +01:00
Nuno C.
a2c4e88a06 Merge pull request #2418 from nunocoracao/dependabot/github_actions/dev/actions/checkout-5
👷 Bump actions/checkout from 4 to 5
2025-09-15 22:43:58 +01:00
Nuno C.
09d08ef3ed Merge pull request #2419 from nunocoracao/dependabot/github_actions/dev/actions/first-interaction-3
👷 Bump actions/first-interaction from 2 to 3
2025-09-15 22:43:50 +01:00
Nuno C.
db48c825c6 Merge pull request #2442 from nunocoracao/dependabot/github_actions/dev/actions/upload-pages-artifact-4
👷 Bump actions/upload-pages-artifact from 3 to 4
2025-09-15 22:42:29 +01:00
Nuno C.
126941a98d Merge pull request #2443 from nunocoracao/hugo-new-version
⚙️ Update Hugo supported version
2025-09-15 22:42:19 +01:00
Nuno C.
97aaec0c5b Merge pull request #2470 from nunocoracao/dependabot/github_actions/dev/actions/stale-10
👷 Bump actions/stale from 9 to 10
2025-09-15 22:42:08 +01:00
Nuno C.
e047f620d9 Merge pull request #2472 from nunocoracao/dependabot/github_actions/dev/actions/setup-node-5
👷 Bump actions/setup-node from 4 to 5
2025-09-15 22:41:57 +01:00
Nuno C.
1e80605801 Merge pull request #2473 from nunocoracao/dependabot/npm_and_yarn/dev/puppeteer-24.19.0
📌 Bump puppeteer from 24.16.2 to 24.19.0
2025-09-15 22:41:46 +01:00
Nuno C.
a4c349383b Merge pull request #2474 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.11.0
📌 Bump mermaid from 11.10.0 to 11.11.0
2025-09-15 22:41:29 +01:00
ZhenShuo Leo
e355715a3b feat(timeline): support markdown content 2025-09-12 20:25:35 +08:00
ZhenShuo Leo
af221fbf3b perf(repo-card): only generate used CSS class 2025-09-12 11:13:23 +08:00
ZhenShuo Leo
f94f60aef6 perf(repo-card): load CSS once globally instead of per card 2025-09-12 10:31:28 +08:00
dependabot[bot]
a66464e972 📦 Update packaged Mermaid 2025-09-10 05:02:17 +00:00