Commit Graph

492 Commits

Author SHA1 Message Date
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
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
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
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
ZhenShuo Leo
e6968d877f feat(hero): add support for hotlinkFeatureImages 2025-09-26 22:07:26 +08:00
ZhenShuo Leo
4b9e63fd99 feat(article-link): add support for hotlinkFeatureImages 2025-09-26 22:06:53 +08:00
quasialex
98f5b2c3b4 Update head.html
Correction: firebaseConfig authDomain
2025-09-23 20:28:50 +03:00
ZhenShuo Leo
7cb8dcc4a1 chore(article-link): remove _external-link.html
we don't need this anymore
2025-09-23 23:02:17 +08:00
Nuno C.
e26666c001 Merge pull request #2497 from ZhenShuo2021/chore/icon-title
🔧 Chore: add title to icons
2025-09-23 15:56:36 +01:00
Nuno C.
6f0238652b Merge pull request #2495 from ZhenShuo2021/fix/page-widget
🐛 Fix: page widget
2025-09-23 15:55:25 +01:00
ZhenShuo Leo
545febc7c0 chore: add title to icons 2025-09-23 18:01:19 +08:00
ZhenShuo Leo
c330c17215 fix(buymeacoffee): widget position letter case and default value 2025-09-23 17:57:58 +08:00
ZhenShuo Leo
b777d4e59e fix(scroll-to-top): resolve overlap with buy me a coffee button 2025-09-23 17:57:58 +08:00
Miles Barr
9872eebdde Merge branch 'dev' into dev 2025-09-16 07:56:02 -07:00
ZhenShuo Leo
3f0dc1d6e1 feat(hero): replace div with img tag
Changed: basic and thumbAndBackground layout
2025-09-16 15:08:36 +08:00
ZhenShuo Leo
d21a4e6e4a feat(term-link): implement the same behavior as article-link in term-link/card.html
use new hover logic
replace div with img tag
2025-09-16 15:08:36 +08:00
ZhenShuo Leo
01b998e070 feat(article-link): replace background div with img tag 2025-09-16 15:08:36 +08:00
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