23 Commits
Author SHA1 Message Date
Aditya Telange 118119693d fix(footer): move focus to anchor target so keyboard navigation continues from there 2026-10-25 11:53:51 +05:30
Aditya Telange 28cbd3c581 perf(footer): save menu scroll position once scrolling settles 2026-10-25 11:38:10 +05:30
Aditya Telange 6be1e9170c perf(footer): throttle scroll-to-top check to once per frame
Uses a passive scroll listener with requestAnimationFrame instead of assigning window.onscroll, which also no longer clobbers or gets clobbered by other window.onscroll handlers.
2026-10-25 11:29:27 +05:30
Aditya Telange 26523e0fd8 perf(header): hoist page url out of menu loop
- compute the current page url once instead of per menu item
- use strings.Contains instead of findRE to detect external links
2026-10-24 17:26:53 +05:30
Aditya Telange 5f157eba7a perf(cover): skip global resources lookup when page bundle has the image
The glob over all assets images ran for every list entry and single
page even when the page bundle already matched.
2026-10-24 17:25:27 +05:30
Aditya Telange 969bebdc56 fix(post_meta): format date tooltip as ISO 8601
closes #1865
2026-10-18 20:46:39 +05:30
Aditya Telange 17bf01d323 fix(toc): show toc for org mode headings spanning multiple lines
closes #1872
2026-10-18 20:18:45 +05:30
Aditya Telange 77ff4a25f5 fix(header): remove conflicting aria-label from decorative logo image
closes #1880
2026-10-18 20:09:35 +05:30
Aditya Telange 8919e487b5 fix(images): process webp on standard hugo edition
ref: https://github.com/gohugoio/hugo/releases/tag/v0.153.0
2026-10-18 20:05:28 +05:30
Aditya Telange a87aee984e refactor(layouts): replace scratch with template variables
- replaced deprecated .Scratch with local variables in toc, index.json, share_icons and ltr/rtl shortcodes
- replaced newScratch with local variables in post_meta, schema_json and share_icons
- keeps state local to each template; output unchanged
2026-10-18 20:02:03 +05:30
Aditya Telange a5d59c7d44 Fix/hugo v0.158.0 deprecations (#1884)
* fix(layouts): use non-deprecated .Language methods

Hugo v0.158.0 deprecated these in favour of new names:
- .Language.LanguageDirection -> .Language.Direction
- .Language.LanguageCode -> .Language.Locale
- .Language.LanguageName -> .Language.Label

Fixes the deprecation warnings shown on every build. Requires Hugo
v0.158.0 or later.

Closes #1856

* chore(theme): bump minimum hugo version to v0.158.0

* fix(schema_json): replace deprecated .Language.Lang with .Language.Name

ref: https://discourse.gohugo.io/t/deprecations-in-v0-158-0/56869
2026-10-18 19:27:30 +05:30
Minh-Hieu PhamandAditya Telange c4ca7ca486 feat: add extend_post_content.html hook partials for post sections (#1846)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2026-05-03 20:16:22 +05:30
Aditya Telange 0d26c357e1 style(translation_list): improve indentation and use .Param 2026-05-03 14:17:42 +05:30
Aditya Telange ecd0d4f8f4 style(post_meta): adjust indentation for better readability 2026-05-03 14:17:42 +05:30
Aditya Telange 4bf8893adc docs(footer): update credit message for Hugo and PaperMod in footer 2026-05-03 14:17:42 +05:30
Aditya Telange 30f865ef21 refactor(edit_post): improve edit post URL handling and readability 2026-05-03 14:17:42 +05:30
Aditya Telange f82488f1f9 style(anchored_headings): refactor for better readability 2026-05-03 14:17:41 +05:30
Aditya Telange e15621f499 style(header): reduce icon size for theme toggle buttons 2026-05-03 14:17:41 +05:30
Aditya Telange 8a1d813d2c style(header): add separator styling for nav 2026-05-03 14:17:41 +05:30
Aditya Telange 1e01e41de0 style(author): adjust indentation for better readability 2026-05-03 14:17:41 +05:30
Aditya Telange 153ed24afe style(breadcrumbs): add additional chevron icon for breadcrumb navigation 2026-05-03 14:17:41 +05:30
Aditya Telange 1027c7fc62 refactor(breadcrumbs): simplify breadcrumb generation using ancestors method 2026-05-03 14:17:40 +05:30
Aditya Telange 87de3fb024 Implement new template system added with Hugo v0.146.0 (#1858)
* feat(layouts): move all files in layouts/_default up to the layouts/ root.

* feat(layouts): rename layouts/partials folder to layouts/_partials

* feat(layouts): rename layouts/shortcodes folder to layouts/_shortcodes

* feat(taxonomy): add new taxonomy layout template

A template named taxonomy.html used to be a candidate for both Page kind term and taxonomy, now it’s only considered for taxonomy.
2026-05-02 21:25:30 +05:30