209 Commits
Author SHA1 Message Date
Nour Agha bfc49a8e13 ✨ Add Ko-fi integration 2026-10-01 00:54:48 +03:00
ZhenShuo Leo 1a5c232535 fix: ignoreFiles in development config 2026-09-13 22:12:02 +01:00
Friday 4bfdb7b1b3 ↩️ Restore complete navigation menus 2026-08-30 22:57:42 +01:00
Friday b8ede0f2bf 🌐 Localize discovery navigation 2026-08-30 22:57:42 +01:00
Friday 2f5696b3f7 ✨ Add Blowfish discovery and freshness path 2026-08-30 22:57:42 +01:00
Nuno CoraçãoandClaude Fable 5 7659c5f23d 🔧 Update example site config and overrides for v3
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00
Friday e1fb257813 feat: move animated background to example site canvas 2026-08-17 20:19:02 +01:00
Friday bbf194ce31 feat: share translated feature images and animate landing 2026-08-17 20:19:02 +01:00
Friday ff4618e379 fix: add compact mobile menu presentation 2026-08-17 20:19:02 +01:00
Friday d862e6f789 feat: surface layout previews and refresh example imagery 2026-08-17 20:19:02 +01:00
Friday af0e11171c feat: improve feature image presentation 2026-08-17 20:19:02 +01:00
Friday 091f9043ee feat: add modern content and navigation primitives 2026-08-17 20:19:02 +01:00
Friday 345f806d80 feat: add landing layout and harden rendering 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
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
Nuno Coração b8fa87eca2 added views and updated docs 2026-01-12 17:42:10 +00:00
Nuno CoraçãoandClaude Opus 4.5 1d88d5b296 Add 5 new languages to exampleSite: German, French, Spanish, Portuguese
Add complete translations for:
- German (de)
- French (fr)
- Spanish (es)
- Portuguese Brazil (pt-br)
- Portuguese Portugal (pt-pt)

Changes include:
- Language config files (languages.*.toml)
- Menu config files (menus.*.toml)
- Translated docs section (16 files x 5 langs)
- Translated homepage, guides, samples
- Translated examples, authors, tags sections
- Translated users section (112 dirs x 5 langs)
- Fixed YAML front matter formatting in user files

Hugo build now supports 9 languages total.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 22:49:50 +00: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
Nuno Coração 4e65fec48f new version 2025-08-03 02:04:00 +01:00
ZhenShuo Leo edbace7be0 feat: support a11y disable blur 2025-07-21 17:18:18 +08:00
Nuno Coração 71f4eda1fd corrected forjego shortcode docs 2025-07-10 11:59:24 +01:00
ZhenShuo Leo b18cfbf0d7 chore: use official banner as social image 2025-06-19 19:44:00 +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 da44c6e047 update 2025-06-17 22:32:17 +01:00
Nuno Coração c308942f0c Merge branch 'dev' of https://github.com/nunocoracao/blowfish into dev 2025-06-17 22:30:23 +01:00
Nuno Coração 771673c79a update 2025-06-17 22:30:15 +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
Nuno Coração ce88fc8b27 increase number of items in homepage 2025-06-17 22:15:52 +01:00
Nuno Coração 7524bbca7e Merge pull request #2172 from ZhenShuo2021/chore/dev-cmd
🔧 Chore: adjust develope command
2025-06-17 22:09:36 +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
ZhenShuo Leo fb2c7b88e2 chore: adjust develope command 2025-05-28 02:01:58 +08:00
Nuno Coração f316c9b437 Merge pull request #2166 from ZhenShuo2021/feat/image-option
✨ Feat: add new option disableImageOptimizationMD
2025-05-27 00:37:23 +01:00
Nuno Coração f711f1afaa Merge pull request #2115 from ZhenShuo2021/feat/hero-image
✨ Feat: add option disableHeroImageFilter on homepage (#2029)
2025-05-27 00:26:15 +01:00
Nuno Coração ab4d88511a Merge pull request #2143 from ZhenShuo2021/dev/segment
🧑‍💻 chore: add options for faster development
2025-05-27 00:12:37 +01:00
ZhenShuo Leo 69fc96ed5b ✨ feat: add new option disableImageOptimizationMD 2025-05-27 04:19:51 +08:00
ZhenShuo2021 6b0db754f7 chore: fix typo 2025-05-14 20:01:39 +08:00