224 Commits
Author SHA1 Message Date
Nour Agha bfc49a8e13 ✨ Add Ko-fi integration 2026-10-01 00:54:48 +03:00
ZhenShuo2021 8334f00562 fix: JS broken in v3 (#3061)
* fix: zoom broken in v3 (#3060)

* fix: buymeacoffee broken in v3
2026-08-21 02:17:22 +01:00
Nuno CoraçãoandClaude Fable 5 1784d3c13b 🐛 Render comments in the simple article layout
Extract the comments block into a shared article-comments partial and
include it from both single and simple layouts. Fixes #2938.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00
Nuno CoraçãoandClaude Fable 5 09f0573749 ✨ v3 theme: glass UI, landing layout, a11y, perf, print styles
Floating glass header with ⌘K search, landing homepage layout with
hero image and GitHub-stars CTA, background canvas with dissolving
heroes, burufugu colour scheme, movie-quote 404, taxonomy pills,
keyboard/ARIA accessibility across menus, search and tabs, idle-
loaded third-party scripts, and dedicated print styles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00
Chris HerborthandChris Herborth cff88c00f5 Address #3033 - suppress default author when using multi-author (#3034)
Co-authored-by: Chris Herborth <chrish@taffer.ca>
2026-08-16 22:32:09 +01:00
Morten Victor Nordbye 1f82608cd6 Add reading progress bar for articles (#3014)
* Add reading progress bar for articles

* Let page-level showReadingProgress override the site setting

Hugo's default treats false as empty, so a page-level false could not
disable the bar once it was enabled site-wide. Resolve the value by
initialising from the site setting and overriding it only when the
front matter parameter is actually present, and use the same resolved
boolean in single.html and head.html.

* Guard the reading progress handler and mark the listener passive

The script loads in the head without defer, so the scroll listener is
registered before the progress bar element exists. A scroll event fired
during parsing, such as when the browser restores the scroll position on
reload, would throw. Bail out when the element is missing, matching the
guard in background-blur.js, and mark the scroll listener passive as
toc.html already does.
2026-08-16 22:14:45 +01:00
Nuno C.andChris Herborth 74d03343b9 ♿️ Add header and main menu nav landmarks (#3048)
Wrap the page header in a header element and the subnavigation menu in
a labelled nav landmark. Addresses #3023.

Co-authored-by: Chris Herborth <chrish@taffer.ca>
2026-08-16 22:09:35 +01:00
Evan Read bcfe2e3f7b Allow pages using list layout to have emojis in titles 2026-06-26 16:01:56 +10:00
Nuno C. 34b1f117fc Merge pull request #2937 from aplgr/fix/reply-email-subject-i18n
🌐 Localize reply-by-email subject
2026-05-13 23:13:45 +01:00
André Plöger 5df9ce4b32 🌐 Localize reply-by-email subject
Use a new article.reply_to i18n key for the generated reply-by-email subject instead of the hardcoded English prefix.

Add the missing translations across i18n files and keep the existing English subject as fallback.

Fixes #2936
2026-05-10 14:37:55 -03:00
abdalrahmanshaban0 1eb3d8da3e fix(hugo): update deprecated LanguageCode to Locale 2026-05-04 17:19:12 +03: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
Eric Gusmao ee2fc91522 Fix Hugo v0.156.0 template deprecations 2026-04-03 14:13:30 -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 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
Nuno C. ab6c812198 Merge pull request #2788 from danielwagn3r/llmstxt
Add support for llms.txt
2026-03-11 00:53:07 +00:00
ZhenShuo Leo 55f2f22849 feat: email obfuscation (#2711) 2026-02-25 23:13:16 +08: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
ZhenShuo Leo 0e9a151ce5 refactor: gather firebase templates 2026-02-07 21:48:53 +08:00
baozidai 31019347aa Update sitemap.xml
Ensure pages with .Sitemap.Disable=true are excluded from sitemap
2026-01-25 16:19:49 +08:00
Nuno C. d9ea382e81 Merge pull request #2704 from RxChi1d/fix/admonition-title-casing
fix(admonition): preserve custom title casing and integrate upstream improvements
2026-01-12 17:45:21 +00:00
Nuno C. 599ebb8610 Merge pull request #2717 from pwhittlesea/optional-new-tab-on-external-links
✨ Feat: Add option for external link in new tab
2026-01-12 17:44:47 +00:00
ZhenShuo Leo 1d275134ad style(list): see details
- Align list TOC wrapper with single TOC wrapper
- Adjust margin
2026-01-08 00:40:24 +08:00
Phillip Whittlesea-Clark 9c861e7c62 ✨ Feat: Add option for external link in new tab 2026-01-05 17:26:03 +00:00
rxchi1d 17906e63e2 refactor(admonition): simplify title handling logic
Replace complex title processing (9 lines) with single-line title filter approach.

Changes:
- Simplify $admonitionTitle definition from 5 variables to 1 line
- Remove $titleClass conditional logic (4 lines)
- Replace dynamic CSS class with static "grow" class
- Use Hugo title filter instead of CSS capitalize
- Remove TrimSpace processing per author feedback

This maintains the same visual behavior while significantly reducing code complexity.

Related: PR #2704 feedback from ZhenShuo2021
2026-01-04 23:25:28 +08:00
rxchi1d fc9e6efb80 fix(render-blockquote): preserve custom title casing 2026-01-03 11:19:17 +08: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
Nuno C. 314877d325 Merge pull request #2691 from ZhenShuo2021/feat/admonition
✨ Feat(admonition): support custom icon
2026-01-01 23:22:47 +00:00
ZhenShuo Leo 11845d4a7c fix(rss): lastBuildDate and description
align usage with Hugo

https://github.com/gohugoio/hugo/blob/v0.153.4/tpl/tplimpl/embedded/templates/rss.xml
2025-12-31 20:19:52 +08:00
ZhenShuo Leo 3c534548df feat(admonition): allow full customization 2025-12-31 15:41:13 +08:00
ZhenShuo Leo bf0713c0cf feat(admonition): support arbitrary icon 2025-12-31 15:34:24 +08:00
ZhenShuo Leo 8ab8807398 feat: better mobile menu 2025-12-27 17:32:00 +08:00
ZhenShuo Leo 81f2423d71 Merge branch 'dev' into feature/callout-tailwind 2025-12-23 01:21:40 +08:00
Nuno C. 0ee9667c35 Merge pull request #2654 from ZhenShuo2021/patch
🐛 Fix: multiple small patches
2025-12-22 17:19:56 +00:00
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
ZhenShuo Leo 327712d228 fix(list): content too narrow 2025-12-23 01:13:56 +08: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
ZhenShuo Leo 07f2fec870 feat(admonition): polish
- sort by type names
- tweak colors of some types
- improve dark mode contrast
- prune css
- simplify render hook
2025-12-23 00:49:50 +08:00
rxchi1d 57befe227f feat(admonitions): add header-only support 2025-12-22 14:18:31 +08:00
ZhenShuo Leo 0317f3aa0e refactor(admonition): simplify code 2025-12-22 12:29:12 +08:00
rxchi1d 775d5b1bbf feat: add admonitions 2025-12-22 09:53:58 +08:00
ZhenShuo Leo 0e3bad2be7 feat(codeblock): add title support 2025-12-18 02:38:31 +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
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
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