145 Commits

Author SHA1 Message Date
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
Nuno Coração
add29d687d Merge pull request #2127 from RxChi1d/main
Enable Goldmark passthrough extension for math rendering
2025-05-27 00:17:36 +01:00
Tim Cappalli
5a9e92d81b Add showCategoryOnly to params 2025-05-11 14:58:20 -04:00
Lin, Chiang-Yu
6281f6661d Enable Goldmark passthrough extension for math rendering
In Hugo v0.132.0, the Goldmark passthrough extension was introduced to preserve raw Markdown text within designated delimiters, ensuring that MathJax or KaTeX can render formulas correctly. With this configuration in place, you no longer need to manually escape characters inside math expressions (for example, \\ → \\\\ or x_y → x\_y).

According the official document of Hugo:  
- [mathematics/#step-1](https://gohugo.io/content-management/mathematics/#step-1)
- [Passthrough render hooks](https://gohugo.io/render-hooks/passthrough/)
2025-05-08 03:21:33 +08:00
ZhenShuo Leo
e4b76d6fce feat: add defaultSocialImage (#1491) (#2100)
Add `defaultSocialImage` as the default image for social media sharing. This feature would be useful for users who don’t want to specify an image for every article. This PR also resolves the issue where the homepage missing an image when shared.
2025-05-03 03:07:00 +08:00
Weaxs
369812f77f support rssnext/follow to claim feed 2024-11-15 17:54:44 +08:00
Nuno Coração
478cab6da0 Merge pull request #1813 from eallion/feat/umami
feat: custom umami script name
2024-11-08 17:40:56 +00:00
Nuno Coração
a365e1c040 Merge branch 'dev' into dev 2024-11-08 17:20:22 +00:00
Charles Chin
924953a0a2 feat: custom umami script name
* https://umami.is/docs/environment-variables#TRACKER_SCRIPT_NAME
2024-10-24 18:48:17 +08:00
Andreas Deininger
4ab18490cd paginate: fix deprecation warning 2024-10-18 21:56:47 +02:00
May Meow
eedb814199 Add fediverse attribution 2024-10-09 00:26:42 +02:00
Nuno Coração
d2143149cd Merge pull request #1681 from unacro/dev
⚙️ Move .Site.Author to .Site.Params.Author
2024-08-28 16:42:52 +01:00
Nuno Coração
c0af00b628 Merge pull request #1677 from Ast3risk-ops/patch-2
Add Mastodon to sharing links
2024-08-28 13:15:52 +01:00
unacro
d6873cf1b1 chore: Move .Site.Author to .Site.Params.Author 2024-08-11 20:45:05 +08:00
Asterisk
a5e9ac3997 edit default sharing link config 2024-08-10 11:40:07 -04:00
W.T. Chang
c35242e912 add trailing slash for homepage.showMoreLinkDest 2024-08-10 19:21:45 +08:00
Nuno Coração
addf561a06 Merge branch 'dev' into dev 2024-08-10 11:02:44 +01:00
Nuno Coração
cff363fe77 Merge pull request #1640 from Weaxs/main
 Support Seline Analysis
2024-08-10 10:56:01 +01:00
Nuno Coração
c18545b157 Merge pull request #1668 from ldericher/image-quality
 add parameters for finer adjustment of image quality
2024-08-10 10:53:37 +01:00
Jörn-Michael Miehe
5762ecaf1b add shortcodes
- "forgejo" and "gitea"
- add copies as giteaColors.json resp. forgejoColors.json
- add params "giteaDefaultServer" and "forgejoDefaultServer"
2024-08-08 02:01:38 +02:00
Jörn-Michael Miehe
eebadb405f add parameter author.imageQuality + english documentation 2024-08-08 01:54:47 +02:00
Jörn-Michael Miehe
090fd09ccf add parameter backgroundImageWidth + english documentation 2024-08-08 01:36:30 +02:00
Mordecai K
5088638936 feat: add reply via email functionality 2024-07-31 16:42:39 +03:00
Weaxs
d52f721c41 enableTrackEvent default true && documents 2024-07-26 17:04:24 +08:00
Weaxs
91d24e626e seline && umami enableTrackEvent 2024-07-26 10:33:50 +08:00
Weaxs
bcc26c11b8 support seline analytics 2024-07-26 10:17:39 +08:00