170 Commits
Author SHA1 Message Date
Nour Agha bfc49a8e13 ✨ Add Ko-fi integration 2026-10-01 00:54:48 +03:00
Nuno C. 27dd60df8f Merge pull request #3101 from 0r1k/issue-3089
Added classic blur option for background hero style (issue #3089)
2026-09-24 17:52:19 +01:00
or1k e544fdbb87 Document layoutBackgroundBlurStyle in shipped default config 2026-09-20 23:25:04 +03:00
or1k 71723fa97c added chesscom and lichess social icons 2026-09-20 22:46:28 +03:00
Nuno CoraçãoandClaude Fable 5 0da79b9888 ⚙️ Prepare v3 release: module path, version window, 3.0.0
Bump the Hugo module path to /v3, adopt a rolling latest-4 Hugo
version window (bot keeps it sliding), document new opt-in params,
and set package version to 3.0.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +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.andor1k 3ea1c3b49f ✨ Add github_gist icon and social link support (#3047)
Co-authored-by: or1k <admin@or1k.net>
2026-08-16 22:05:50 +01:00
André Plöger 6b11b81aec Merge branch 'main' into feature/client-language-redirect 2026-05-14 10:23:48 -03:00
André Plöger 3a86a7656e ✨ Add opt-in client-side language redirect 2026-05-10 10:47:49 -03:00
André Plöger ab5c7b7c97 Add configurable meta description fallback order 2026-04-29 20:40:29 -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. 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 C. 137860d31a Merge pull request #2900 from alxhslm/feat/untappd-icon-v2
✨ Feat: Add Untappd icon and profile support
2026-04-13 22:29:20 +01:00
Alex HaslamandClaude Sonnet 4.6 b9883c761d Merge upstream/main into feat/untappd-icon-v2
Resolve conflicts in icon sample pages by adopting upstream's {{< icon-ref >}}
shortcode, which dynamically generates the icon table.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 21:27:37 +01:00
Alex HaslamandClaude Sonnet 4.6 7b0fbea8ab Merge upstream/main into feat/strava-icon-v2
Resolve conflicts in icon sample pages by adopting upstream's {{< icon-ref >}}
shortcode, which dynamically generates the icon table (replacing the static
table the PR had added strava to).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 20:32:23 +01:00
Alex HaslamandClaude Sonnet 4.6 ae9b25b69c ✨ Feat: Add Untappd icon and profile support
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 16:42:31 +00:00
Alex HaslamandClaude Sonnet 4.6 1475200ab4 ✨ Feat: Add Strava icon and profile support
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 16:42:26 +00: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
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 859685f0c2 Added documentation. 2026-03-23 08:30:21 +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
Mariusz Bialonczyk 1b4de022c2 ✨ Feat: Add printables icon and profile support 2026-02-14 08:30:00 +01:00
Phillip Whittlesea-Clark 9c861e7c62 ✨ Feat: Add option for external link in new tab 2026-01-05 17:26:03 +00:00
Mike Repec 9ff8cccc36 feat: Add config option to allow disabling styled tailwind scrollbar 2025-12-13 15:12:17 +01: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
Phillip Whittlesea-Clark 65ad575c9c ✨ Support Hugo Markdown Attributes for Inline Images 2025-11-01 18:21:42 +00:00
Nuno C. b29c6614dc Merge branch 'dev' into feat/image-position 2025-10-14 10:14:18 +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
ZhenShuo Leo 90e553541e fix: enable wrapStandAloneImageWithinParagraph by default
This fixes invalid HTML where figure tag is inside p tag.
However, this does not fix linked images, e.g., `[![alt](image)](url)`.
The cleanest way to resolve linked images is using markdown-attributes,
but markdown-attributes is not recommended by CommonMark.

See:

- https://discourse.gohugo.io/t/how-to-do-wrap-img-with-a-inside-figure-with-render-image-html/44843
- https://github.com/gohugoio/hugo/blob/master/markup/goldmark/images/transform.go
- https://gohugo.io/content-management/markdown-attributes/
- https://github.com/commonmark/commonmark-spec/wiki/Deployed-Extensions#attributes
2025-10-11 15:07:20 +08:00
ZhenShuo Leo ec8d9297f9 docs: add support for imagePosition config 2025-09-30 23:35:51 +08:00
ZhenShuo Leo 22f097f92a chore: hotlinkFeatureImages -> hotlinkFeatureImage 2025-09-27 09:12:58 +08:00
ZhenShuo Leo 4b9e63fd99 feat(article-link): add support for hotlinkFeatureImages 2025-09-26 22:06:53 +08:00
ZhenShuo Leo c330c17215 fix(buymeacoffee): widget position letter case and default value 2025-09-23 17:57:58 +08:00
ZhenShuo Leo edbace7be0 feat: support a11y disable blur 2025-07-21 17:18:18 +08:00
Mordecai K a36511aab9 🔧 update(docs): reference new icons 2025-07-19 00:35:19 +03:00
Nuno Coração 71f4eda1fd corrected forjego shortcode docs 2025-07-10 11:59:24 +01:00
ZhenShuo Leo fafe7686b1 fix: minimum version warning not working 2025-06-28 22:30:38 +08:00
Nuno Coração 03f9c7d732 Merge pull request #2224 from Weaxs/support-adsense
✨ support advertisement
2025-06-17 23:06:45 +01:00
Nuno Coração 250b39c40e Merge pull request #2213 from rlan/feat/line-sharing-link
❇️ Add LINE to sharing links
2025-06-17 22:48:00 +01:00
Nuno Coração 87f4f2529a Merge pull request #2182 from ZhenShuo2021/chore/move-config
🔧 chore: move markup config to markup.toml
2025-06-17 22:26:47 +01:00
Weaxs 52b47665c8 support advertisement 2025-06-16 16:18:51 +08:00
Rick Lan 0b1f43373f Add LINE to sharing links 2025-06-08 20:10:14 +09:00
Nuno Coração 397197a890 Merge branch 'dev' into chore/config 2025-06-06 15:04:40 +01:00
Served Smart dc36597427 🔒 Add config parameter fingerprintAlgorithm
This parameter allows users to choose their algorithm for html integrity checks. This mainly affects Hugo's fingerprint
2025-06-03 11:53:03 +02:00
ZhenShuo Leo e26d1c7e74 🔧 chore: move markup config to markup.toml 2025-05-29 01:46:50 +08:00
ZhenShuo Leo d4ab6b1159 chore: sync exampleSite config and root config 2025-05-28 06:01:02 +08:00
Nuno Coração 7afecd63e5 Merge pull request #2133 from timcappalli/main
Feat: Adds ability show only the category instead of all tags
2025-05-27 00:31:07 +01:00