Commit Graph

573 Commits

Author SHA1 Message Date
Robert Randall 350458a3c5 Changed from deprecated .Site.LanguageCode to .Site.Language.Locale 2026-04-29 13:32:56 +02:00
Nuno C. 8eb1f330c5 Merge pull request #2877 from jin-li/feature/thumbnail-aspect-ratio-global
feat: Allow configurable thumbnail aspect ratio for article cards
2026-04-13 22:43:18 +01:00
Nuno C. 44f787680b Merge pull request #2874 from aplgr/feat/hreflang-head-alternates
Add hreflang alternates to multilingual page head
2026-04-13 22:43:11 +01:00
Nuno C. a57db858b4 Merge pull request #2866 from EricGusmao/fix/hugo-v0.158.0-deprecations
fix: migrate deprecated Hugo v0.158.0 language API
2026-04-13 22:40:39 +01:00
Nuno C. 2e195fc1e1 Merge pull request #2853 from MaikelChan/header_space_list
🐛 Fixed `layoutBackgroundBlur` and `layoutBackgroundHeaderSpace` not affecting term and taxonomy pages
2026-04-13 22:39:41 +01:00
Nuno C. a666aa54b8 Merge pull request #2852 from MaikelChan/badges
 Implemented category badges in secondary color and better granularity for showing categories or tags
2026-04-13 22:38:59 +01:00
Nuno Coração 89e261f8e4 Fix Umami event name for long page titles
Use a fixed event name (type:view) and pass the title as metadata
instead of embedding it in the event name, which caused issues with
long page titles.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 22:34:48 +01:00
Nuno C. 58e075717e Merge pull request #2851 from nk9/plainify-title
[#2850] Run plainify on the title value before emojify
2026-04-13 22:29:23 +01:00
Nuno Coração 2b83b517cc Fix sharing email link broken by email obfuscation PR
The email obfuscation PR (#2815) incorrectly replaced the "share via
email" link with the author's email as recipient. Sharing links have no
email address to obfuscate — they just open a mailto: with the article
URL and title prefilled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 22:24:07 +01:00
Eric Gusmao ee2fc91522 Fix Hugo v0.156.0 template deprecations 2026-04-03 14:13:30 -03:00
jin-li a308a86365 feat: global thumbnail aspect ratio configuration
- Add thumbnailAspectRatio site parameter (default '1.5')
- Use decimal values instead of fractions for Hugo compatibility
- Sanitize user input to extract only numeric characters
- Apply to article cards, related cards, and term cards
- Update both source and compiled CSS

Closes #2839
2026-03-29 14:27:09 +02:00
André Plöger 7ea30cb4f1 Add hreflang alternates to multilingual page head 2026-03-28 14:59:53 -03:00
Eric Gusmao 7c127074f9 fix: migrate deprecated Hugo v0.158.0 language API
Replace deprecated config keys and template methods per Hugo v0.158.0:

Config (10 files):
- languageCode → locale
- languageName → label

Templates:
- site.LanguageCode → site.Language.Locale (baseof.html, head.html, schema.html x2)
- site.Language.Lang → site.Language.Name (single.html)
- .Lang → .Language.Name (likes.html, views.html)

Ref: https://discourse.gohugo.io/t/deprecations-in-v0-158-0/56869
2026-03-25 11:15:20 -03:00
MaikelChan 167ee1fa4c Use dictionary to pass whether to use a secondaryColor for the badge. 2026-03-24 02:27:38 +01:00
MaikelChan a0fc381ba9 Properly implement layoutBackgroundBlur and layoutBackgroundHeaderSpace in term and taxonomy 2026-03-23 08:00:37 +01:00
MaikelChan e84fc0e1c6 Implemented category badges in secondary color. 2026-03-23 05:45:46 +01:00
Nick Kocharhook 79a78bcef4 [#2850] Run plainify on the title value before emojify 2026-03-22 23:08:36 +00:00
Nuno C. d8416ee104 Revert " Feat: logo alt and remove logo JS" 2026-03-11 14:16:49 +00:00
Nuno C. 20c6de4eb8 Merge pull request #2815 from ZhenShuo2021/email
 Feat: Email obfuscation
2026-03-11 00:49:20 +00:00
Nuno C. 3a912caf92 Merge pull request #2814 from ZhenShuo2021/logo-alt
 Feat: logo alt and remove logo JS
2026-03-11 00:49:03 +00:00
Nuno C. 22a9b643de Merge pull request #2803 from danielwagn3r/umami-dnt
Umami Do Not Track browser setting configuration
2026-03-11 00:24:16 +00:00
Daniel von Eßen 9e0ad31ec8 fix: skip null colors in repoColors when generating repo-cards CSS
Languages with null entries in repoColors.json caused Go's fmt.Sprintf
to emit '%!s(<nil>)' as the color value, producing invalid CSS and
browser parse errors. Add a nil guard to skip those entries, letting
them fall back to the default dot color.

Fixes #2824
2026-03-06 16:27:23 +01:00
ZhenShuo Leo be7f6b6f8f fix: author icon padding 2026-02-25 23:13:17 +08:00
ZhenShuo Leo 55f2f22849 feat: email obfuscation (#2711) 2026-02-25 23:13:16 +08:00
ZhenShuo Leo 02a7397119 refactor: use css for logo switcher 2026-02-25 22:41:25 +08:00
ZhenShuo Leo e35bcc0f24 chore: logo alt text 2026-02-25 22:41:25 +08:00
Daniel Wagner e1c13d658d Add data-do-not-track attribute to Umami script 2026-02-19 21:55:06 +01:00
Nuno Coração d38accc6ff release polish 2026-02-11 22:15:07 +00:00
Nuno C. e753c191c3 Merge pull request #2775 from ZhenShuo2021/firebase
 Feat: improve Firebase
2026-02-11 21:51:05 +00:00
Nuno C. c53c0ce6d6 Merge pull request #2774 from abdalrahmanshaban0/dev
fix(a11y): add alt text to author profile image
2026-02-11 21:49:53 +00:00
Nuno C. 92c7b3ecdf Merge branch 'dev' into remove-jquery 2026-02-11 21:27:54 +00:00
ZhenShuo Leo 99d329c7b0 feat: reduce firebase blocking time
- use esm format
- defer loading with type="module"
- upgrade from v8.10.0 to v9.23.0
- allow homepage/taxonomy/term log
2026-02-10 06:52:05 +08:00
ZhenShuo Leo 0e9a151ce5 refactor: gather firebase templates 2026-02-07 21:48:53 +08:00
abdalrahmanshaban0 54e7ebc4d9 fix(a11y): add alt text to author profile image 2026-02-06 22:14:25 +02:00
Eric Gusmao 39209dbab3 Remove jQuery dependency and update theme version to 2.97.0 2026-01-26 20:36:32 -03:00
Christian Schärf ed75c36449 🐛 fix: respect value of disableHeroImageFilter for content 2026-01-15 22:49:34 +01:00
Nuno C. e5fc548eb5 Merge pull request #2714 from ZhenShuo2021/feat/compact
💄 Style(article-link): truncate long summary
2026-01-12 00:53:58 +00:00
ZhenShuo Leo 10083786cb style(card-link): add line clamp and BEM classes
Add BEM class names for easier CSS targeting
2026-01-07 16:06:56 +08:00
ZhenShuo Leo 4a16b20d3f style(header): tweak fixed-fill-blur 2026-01-04 19:25:56 +08:00
ZhenShuo Leo 0083e927c1 style(doc): remove opacity from homepage contributors
images look gray
2026-01-04 01:28:53 +08:00
ZhenShuo Leo ec69178703 style(doc): tweak the icon color on the homepage 2026-01-04 01:28:41 +08:00
Nuno Coração d79d17e807 update and add sponsors and contributors 2026-01-02 16:57:37 +00:00
Nuno C. 1aba089483 Merge pull request #2683 from ZhenShuo2021/fix/header
 Feat: improve the appearance of the header
2026-01-01 23:24:20 +00:00
ZhenShuo Leo 3c534548df feat(admonition): allow full customization 2025-12-31 15:41:13 +08:00
ZhenShuo Leo c78b3a1e6a fix: menu unreadable (#1790) 2025-12-27 17:33:20 +08:00
ZhenShuo Leo 230ee3ab16 feat: improve fixed-fill-blur
The original appearance is identical to `fixed-fill`
2025-12-27 17:32:04 +08:00
ZhenShuo Leo 8ab8807398 feat: better mobile menu 2025-12-27 17:32:00 +08:00
ZhenShuo Leo 522bdbe29e fix: menu vertical overflow 2025-12-27 17:31:53 +08:00
ZhenShuo Leo f3e91168d9 fix(schema): remove abstract field
- Search engines do not consume the abstract property
- Platforms (Docusaurus, Vitepress, WordPress, Medium) do not use it
- .Summary method does not match the definition of abstract in schema.org

redo 0d21750932 due to incorrect merge manipulate
2025-12-23 01:42:44 +08:00
ZhenShuo Leo 81f2423d71 Merge branch 'dev' into feature/callout-tailwind 2025-12-23 01:21:40 +08:00