Commit Graph

924 Commits

Author SHA1 Message Date
abdalrahmanshaban0 1eb3d8da3e fix(hugo): update deprecated LanguageCode to Locale 2026-05-04 17:19:12 +03: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. 270a0a74d2 Merge pull request #2868 from L0kayata/dev
🐛 Fix `carousel` caption height overflow and layout jump
2026-04-13 22:41:46 +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. d35a493ba0 Merge pull request #2837 from schneekluth/feat-email-shortcode
Shortcode for obfuscated mailto email link
2026-04-13 22:29:29 +01:00
Nuno C. 78341b1822 Merge pull request #2898 from unknown-gd/main
Localization for `article` shortcut
2026-04-13 22:29:26 +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
Unknown Developer f04dd3659a Update link formatting in article shortcode 2026-04-09 19:05:14 +04: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
L0kayata 1f0a84a24b fix: Lock carousel caption area to measured max height
Measure caption heights across slides at runtime and apply a shared min-height so switching between slides with and without caption text does not cause layout jump.

Keep this behavior scoped to carousels with captions and recalculate on load and resize for responsive stability.
2026-03-27 12:27:59 +01:00
L0kayata 877a2609e9 fix: Fix carousel caption flow and scope controls to image bounds
Move carousel captions out of absolute positioning so they participate in normal height calculation and no longer overlap content below the carousel.

Constrain indicators and navigation buttons to the image region using container-based sizing, so controls do not extend into the caption area.
2026-03-27 12:27:21 +01: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 ef712c33f9 Fixed layoutBackgroundBlur and layoutBackgroundHeaderSpace not affecting the term page. 2026-03-23 07:32:50 +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
schneekluth 1bec932730 Add email link shortcode to layouts
Added E-Mail Shortcode for new E-Mail obfuscation feature introduced in [v2.99.0](]https://github.com/nunocoracao/blowfish/releases/tag/v2.99.0 based on this discussion https://github.com/nunocoracao/blowfish/discussions/2828#discussioncomment-16096521)
2026-03-12 13:59:20 +01:00
Nuno C. d8416ee104 Revert " Feat: logo alt and remove logo JS" 2026-03-11 14:16:49 +00:00
Nuno C. ab6c812198 Merge pull request #2788 from danielwagn3r/llmstxt
Add support for llms.txt
2026-03-11 00:53:07 +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. 0036fb8c02 Merge pull request #2792 from alxhslm/fix-accordian-chevron
Fix: make accordian chevron behaviour match admonition
2026-03-11 00:27:33 +00:00
Nuno C. e6c8e05040 Merge pull request #2795 from alxhslm/tab-nested
fix: Tab shortcode supports nested shortcodes
2026-03-11 00:27: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
Nuno C. 2d5bf43ea3 Merge pull request #2813 from ZhenShuo2021/gist
 Feat: add CSS for gist shortcode
2026-03-11 00:23:11 +00:00
Nuno C. 8a1669e1f4 Merge pull request #2816 from richtefee/feature/accordion-align
Add optional align parameter to accordion items shortcode.
2026-03-11 00:21:13 +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
felix 641c16a150 Add optional align parameter to accordion items shoortcode. Updated docs. 2026-02-25 20:36:19 +03: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 812effc613 feat: gist css 2026-02-25 22:44:09 +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
Alex Haslam 19a4e5f5af Add md flag 2026-02-16 09:27:51 +00:00
Alex Haslam b61ca7359f Make chevron rotate 2026-02-15 21:55:53 +00:00
Daniel Wagner e30ea0a5c9 Add support for llms.txt
The llms.txt file is an industry standard that helps LLMs index content more efficiently, see https://llmstxt.org/

/config/_default/hugo.toml =>
```toml
[outputFormats]
  [outputFormats.llms]
    mediaType = "text/plain"
    baseName = "llms"
    isPlainText = true
    notAlternative = true

[outputs]
  home = ["HTML", "RSS", "JSON", "llms"]
```

From https://github.com/adityatelange/hugo-PaperMod/commit/3bb0ca281fd17eff8e3489011a444f326d7c4c72
2026-02-13 15:57:12 +01:00
Nuno Coração d38accc6ff release polish 2026-02-11 22:15:07 +00:00
Nuno C. 58799b9847 Merge pull request #2779 from suidpit/typeit-random-lines
Feat: typeit support for random shuffle with multiple lines
2026-02-11 21:53:06 +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. 8bdb64c6d7 Merge pull request #2773 from alxhslm/carousel-captions
feat: Add captions argument to carousel shortcode
2026-02-11 21:49:26 +00:00