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
Phillip Whittlesea-Clark
65ad575c9c
✨ Support Hugo Markdown Attributes for Inline Images
2025-11-01 18:21:42 +00:00
Nuno C.
6e5a0769d3
Merge pull request #2539 from Flexicon/fix-heading-anchor-colour-flicker
...
🐛 Fix(render-heading): prevent colour flicker on anchor links
2025-10-14 10:11:19 +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
Nuno C.
9b6ed820e9
Merge pull request #2509 from ZhenShuo2021/fix/terms-typo
...
🐛 Fix: multiple small patches
2025-10-14 09:55:46 +01:00
Nuno C.
ce18bf1134
Merge pull request #2505 from ZhenShuo2021/feat/hotlink
...
✨ Feat: support `hotlinkFeatureImage`
2025-10-14 09:50:21 +01:00
Mike Repec
b4a13da6d8
🐛 Fix(render-heading): prevent colour flicker on anchor links
...
The group-hover prefix is redundant and cause the colour to flicker
for the anchor link tag - the colour should actually stay the same
and only have it's opacity (visibility really) controlled via group-hover.
2025-10-13 09:18:45 +02:00
ZhenShuo Leo
792ec9a601
refactor(render-image): see detail
...
- trim white spaces which can't be eliminated by minify
- unify dict input usages
2025-10-11 15:07:20 +08:00
ZhenShuo Leo
8bfa9926c7
fix(render-image): improper srcset usage
...
- correct srcset image w descriptor value
- use compressed image for src fallback
2025-10-11 15:07:20 +08:00
ZhenShuo Leo
9a043d83ab
fix(single.html): toc not controlled by frontmatter (redo #2428 )
2025-10-11 15:19:36 +08:00
ZhenShuo Leo
9b35cc2bae
fix(toc): too wide when no related contents
2025-10-11 15:19:36 +08:00