Commit Graph

806 Commits

Author SHA1 Message Date
Nuno C.
eea9e106ab Merge pull request #2652 from Flexicon/feat-add-config-to-disable-styled-scrollbar
 feat: add config to disable styled scrollbar
2025-12-22 17:16:30 +00:00
Nuno C.
b6c00249c6 Merge pull request #2656 from ZhenShuo2021/feat/codeblock-title
 Feat: support title in code block
2025-12-22 17:11:53 +00:00
Nuno C.
d913a512ad Merge pull request #2655 from ZhenShuo2021/feat/render-link
 Feat: adopt Hugo embed render-link logic
2025-12-22 17:11:38 +00:00
Nuno C.
9719d7ac6f Merge pull request #2653 from ZhenShuo2021/fix/gallery
🐛 Fix: gallery and carousel no width
2025-12-22 17:10:44 +00:00
Nuno C.
74650e4927 Merge pull request #2637 from ZhenShuo2021/feat/tabs
 Feat: add tabs shortcode
2025-12-22 17:09:40 +00:00
ZhenShuo Leo
0e3bad2be7 feat(codeblock): add title support 2025-12-18 02:38:31 +08:00
ZhenShuo Leo
4422c4b517 fix: gallery and carousel wouldn't show without other statically sized elements 2025-12-15 20:26:04 +08:00
ZhenShuo Leo
f8417b8297 feat: adopt Hugo embed render-link logic 2025-12-15 18:20:26 +08:00
Mike Repec
9ff8cccc36 feat: Add config option to allow disabling styled tailwind scrollbar 2025-12-13 15:12:17 +01:00
ZhenShuo Leo
eda9fc9bc3 feat(tabs): better usage 2025-12-01 21:14:15 +08:00
ZhenShuo Leo
20044af981 feat: add tabs 2025-12-01 20:24:26 +08:00
ZhenShuo Leo
112b22c0d9 style: improve article-link contrast
add background and tweak border
2025-11-29 04:10:47 +08:00
ZhenShuo Leo
31039584e8 style: add overlay for background blur 2025-11-29 04:10:47 +08:00
ZhenShuo Leo
ec942b013a fix: remove alt in decorative images 2025-11-29 03:29:18 +08:00
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
Nuno C.
241a0e0373 Merge pull request #2617 from ZhenShuo2021/feat/breadcrumbList
 Feat(SEO): add enableStructuredBreadcrumbs
2025-11-24 23:31:39 +00:00
Nuno C.
c64de6b1a7 Merge pull request #2614 from yozlog/dev
feat: Add i18n support for "Reply by Email"
2025-11-24 23:30:42 +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
YoZ
e71f92b572 feat: Add i18n support for "Reply by Email" 2025-11-16 07:02:50 +09:00
Florian Hoss
bf2d8ece62 Exclude non searchable pages from sitemap 2025-11-12 18:30:07 +01:00
Florian Hoss
53d243fab3 Exclude pages from search index via param
Pages with the 'excludeFromSearch' parameter set in their front matter are now omitted from the generated search index. This allows for finer control over which pages are searchable.
2025-11-12 18:17:58 +01: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.
c6aa447427 Merge pull request #2591 from pwhittlesea/support-markdown-attributes-on-images
 Support Hugo Markdown Attributes for Inline Images
2025-11-03 22:19:57 +00:00
Nuno C.
a1509e9064 Merge pull request #2566 from ZhenShuo2021/fix/keyword
🐛 Fix(keyword): trim empty spaces
2025-11-03 22:16:10 +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
Phillip Whittlesea-Clark
65ad575c9c Support Hugo Markdown Attributes for Inline Images 2025-11-01 18:21:42 +00:00
ZhenShuo Leo
1e99e63084 fix(keyword): trim empty spaces 2025-10-17 18:35:26 +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.
6e5a0769d3 Merge pull request #2539 from Flexicon/fix-heading-anchor-colour-flicker
🐛 Fix(render-heading): prevent colour flicker on anchor links
2025-10-14 10:11:19 +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.
01dafef575 Merge pull request #2533 from ZhenShuo2021/feat/mermaid-dark
 Feat(mermaid): support dark mode
2025-10-14 10:08:26 +01:00
Nuno C.
7f4e044464 Merge pull request #2532 from ZhenShuo2021/fix/render-image
🐛 Fix(render-image): correct srcset and HTML structure
2025-10-14 10:07:52 +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.
1a86ce0bd7 Merge pull request #2507 from tekdahl/carousel-aspectratio
Carousel support any aspect ratio
2025-10-14 09:53:15 +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