Nuno C.
bdf5c84f19
Merge pull request #2621 from ZhenShuo2021/fix/author-zoom
...
🐛 Fix: author image stretch when zooming
2025-11-24 23:32:34 +00:00
ZhenShuo Leo
8d5c2045a6
fix: author image stretch when zooming
...
fix this issue by using square image for data-zoom-src
2025-11-22 05:34:28 +08:00
ZhenShuo Leo
652462e326
fix: add JSON-LD to section page
2025-11-21 02:16:48 +08:00
ZhenShuo Leo
8ab2d8b68a
feat: add BreadcrumbList (enableStructuredBreadcrumbs option)
...
also fix escape character in url of schema
2025-11-21 02:16:43 +08:00
Nuno C.
05456d8fdb
Merge pull request #2593 from nunocoracao/a11y
...
🐛 Fix(a11y): conditionally create disable_images button
2025-11-03 22:20:38 +00:00
Nuno C.
cd73c4ab4d
Merge pull request #2565 from ZhenShuo2021/fix/showDateOnlyInArticle
...
🐛 Fix: showDateOnlyInArticle
2025-11-03 22:14:41 +00:00
Nuno C.
7b08a2241c
Merge pull request #2564 from ZhenShuo2021/fix/repo-card
...
🐛 Fix(repo-card): language dot colors not displaying
2025-11-03 22:14:04 +00:00
Nuno C.
998aee7bf3
Merge pull request #2562 from ZhenShuo2021/fix/scroll-to-top
...
🐛 Fix(scroll-to-top): handle nil value correctly
2025-11-03 22:13:12 +00:00
ZhenShuo Leo
c51559dee5
fix(a11y): create disable_images button only when layout is background
2025-11-03 10:30:59 +08:00
ZhenShuo Leo
d1f332b9cf
fix: showDateOnlyInArticle
2025-10-17 14:52:25 +08:00
ZhenShuo Leo
884d84363e
Revert "perf(repo-card): only generate used CSS class"
...
This reverts commit af221fbf3b .
fix language dot colors in repo-card not displaying
This occurs because head.html is rendered before the page content,
making .Page.Store unavailable at that point in the template
execution order.
This issue doesn't appear in local development because page refreshes
trigger full re-renders, allowing the Store values to be properly
populated from shortcodes.
Alternative solutions considered:
1. templates.Defer: too complex and unreliable
2. Moving CSS to footer: confusing and delayed load
3. Inline styles: incurs CSP issue
Final I choose pre-generate CSS for all languages. After zstd
compression, the CSS file is only 8KB and benefits from browser
caching across all pages.
2025-10-17 14:38:24 +08:00
ZhenShuo Leo
03f078ba8e
fix(scroll-to-top): handle nil value correctly
2025-10-16 00:42:07 +08:00
Ted
1ef3c02588
fix _external-link.html replacement variable refs
2025-10-15 09:35:42 -05:00
Nuno Coração
43dcc375d6
small fixes
2025-10-14 10:21:43 +01:00
Nuno C.
b29c6614dc
Merge branch 'dev' into feat/image-position
2025-10-14 10:14:18 +01:00
Nuno C.
f441e653fb
Merge pull request #2538 from thetorminal/patch-2
...
relLangUrl in $showMoreLinkDest
2025-10-14 10:10:48 +01:00
Nuno C.
9b6ed820e9
Merge pull request #2509 from ZhenShuo2021/fix/terms-typo
...
🐛 Fix: multiple small patches
2025-10-14 09:55:46 +01:00
Nuno C.
ce18bf1134
Merge pull request #2505 from ZhenShuo2021/feat/hotlink
...
✨ Feat: support `hotlinkFeatureImage`
2025-10-14 09:50:21 +01:00
Nuno C.
719e505d01
Update layouts/partials/article-link/_shortcode.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:50:02 +01:00
Nuno C.
cac66e0fd7
Update layouts/partials/article-link/card-related.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:49:50 +01:00
Nuno C.
fba28d5274
Update layouts/partials/article-link/card.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:49:38 +01:00
Nuno C.
c714e91685
Update layouts/partials/article-link/simple.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:49:29 +01:00
Nuno C.
831af00253
Update layouts/partials/hero/background.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:49:15 +01:00
Nuno C.
f153250887
Update layouts/partials/hero/basic.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:48:58 +01:00
Nuno C.
eef77a4a80
Update layouts/partials/hero/thumbAndBackground.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:48:32 +01:00
Nuno C.
2e4e97c5b8
Update layouts/partials/hero/thumbAndBackground.html
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 09:48:02 +01:00
Nuno C.
b91653687b
Merge pull request #2499 from quasialex/main
...
Update head.html
2025-10-14 09:46:26 +01:00
torminal
9c5ecfb45b
relLangUrl in $showMoreLinkDest
...
Currently, the show more button doesnt support multilingual websites. Fixed with "| relLangURL"
2025-10-11 14:43:42 +02:00
ZhenShuo Leo
a19edf471b
chore(header): correct template naming
2025-10-11 03:11:00 +08:00
ZhenShuo Leo
40eea78d8c
chore(footer): use logical properties
2025-10-11 03:10:00 +08:00
ZhenShuo Leo
c9c8a36c16
fix: article-pagination
...
- simplify html
- fix rtl item alignment
- fix empty span tag when showDate is false
- align hover effect with other element, removes group hover underline
2025-10-11 15:19:36 +08:00
ZhenShuo Leo
6c8e0d7933
fix(header): add aria-label for icons
2025-10-11 15:19:36 +08:00
ZhenShuo Leo
d8ea1d81b5
fix: article shortcode padding
2025-10-11 15:19:35 +08:00
ZhenShuo Leo
751856fcc2
fix: show full size author image when zooming
2025-10-11 15:19:35 +08:00
ZhenShuo Leo
ba45e11207
fix: repo card css output path conflict
2025-10-11 15:19:35 +08:00
ZhenShuo Leo
de43ea47cb
fix: scroll to top height offset on rtl sites
2025-10-11 15:19:35 +08:00
ZhenShuo Leo
eb01381598
fix(header): remove logo alt
2025-10-11 15:19:35 +08:00
ZhenShuo Leo
9665fe953c
fix(header): align width with body
...
remove all horizontal padding
align layout padding settings with body
split body classes into three variables
2025-10-11 15:19:35 +08:00
ZhenShuo Leo
2c6a95a755
fix(toc): incorrect active link in short paragraph
2025-10-11 15:19:35 +08:00
ZhenShuo Leo
3918571644
chore(article-link): use old naming of css class name
...
though the new thumbnail--xxx naming is cleaner
but this kind of change should be postponed until a major release
2025-10-08 13:15:31 +08:00
ZhenShuo Leo
a27d65ad36
fix(article-link): replace figure tag to div
...
this is not needed for decorative images
2025-10-08 13:06:24 +08:00
ZhenShuo Leo
b9a45ea2a9
fix(head): pass current context to analytics
2025-10-01 17:00:58 +08:00
ZhenShuo Leo
8b41f89455
fix(head): only load analytics when IsProduction
2025-10-01 17:00:58 +08:00
ZhenShuo Leo
374a0f51f7
fix(head): social image meta duplication
2025-10-01 17:00:58 +08:00
ZhenShuo Leo
b3bc04cfc3
refactor(head): move meta to the front
2025-10-01 17:00:58 +08:00
ZhenShuo Leo
7b694613da
refactor(head): remove unnecessary space trim
2025-10-01 17:00:58 +08:00
ZhenShuo Leo
2c9f1af5b2
refactor(head): remove unnecessary newScratch
2025-10-01 13:36:11 +08:00
ZhenShuo Leo
f827f8e8d8
feat: add support for imagePosition config
2025-09-30 23:09:43 +08:00
ZhenShuo Leo
22f097f92a
chore: hotlinkFeatureImages -> hotlinkFeatureImage
2025-09-27 09:12:58 +08:00
ZhenShuo Leo
9eebb5b2aa
fix: img attribute
...
add loading/decoding/fetchpriority
remove alt for decorative images
2025-09-26 22:37:56 +08:00