712 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 2a980c81da style(taxonomy): improve indentation for better readability 2026-05-03 14:17:42 +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
Aditya Telange 8af442a6a7 refactor(fastsearch): improve search initialization and result rendering
- refactored search index loading to use async/await for better readability
- improved result rendering logic to handle empty results and focus management
- added debounce to search input for performance optimization
- defined default options for Fuse.js to streamline configuration
2026-05-02 19:15:38 +05:30
Aditya Telange fe946d57b3 style(list.html): update div class for post content 2026-04-26 17:15:11 +05:30
Liam Cox f207ce6d58 Add eBird social icon svg (#1848) 2026-04-12 00:32:57 +05:30
Aditya Telange 35b4e39829 fix(header): correct logic for language and theme toggle visibility 2026-04-12 00:11:38 +05:30
Aditya Telange ec4eb885f2 fix(header): show language separator only if we have translations 2026-04-11 23:56:37 +05:30
Aditya Telange ee4cadecc5 style(header): enhance logo and theme switch layout for better alignment 2026-04-11 23:51:20 +05:30
Aditya Telange 9870ab3b40 style(header): adjust logo-switches visibility based on theme/lang toggle 2026-04-11 22:51:21 +05:30
Aditya Telange 34c9e0a8ed style(audio): enhance audio element styling for better presentation 2026-04-11 21:30:18 +05:30
Aditya Telange 8739b2f73b style(paginav): improve layout and spacing for navigation links 2026-04-11 20:53:16 +05:30
Aditya Telange a3b58b9e95 style(breadcrumbs): update markup to use <nav> for improved semantics and add SVG seperator 2026-04-11 20:12:11 +05:30
Aditya Telange 1d9e109808 style(header): rename .nav to .header-nav for semantic consistency 2026-04-11 20:03:15 +05:30
Aditya Telange 4fede693fd Adjust scroll threshold for top link visibility 2026-04-11 19:25:16 +05:30
Aditya Telange 31185b01d5 Refactor top-link visibility and positioning in footer
- Update CSS for top-link to use rem units
- Modify HTML to include 'hidden' class for initial state
- Adjust JavaScript to toggle visibility using class
2026-04-11 19:19:49 +05:30
Aditya Telange e8b88d4e72 Improve table of contents
- Convert the `.toc` class to a `<details>` element
- Update styles for improved accessibility and interaction
2026-04-11 17:56:08 +05:30
Aditya Telange a05b477340 Refactor CSS class names for consistency and clarity
- Update selectors from IDs to classes in header, search, and zmedia styles.
- Ensure consistent usage of class names across relevant files.
2026-04-11 14:31:33 +05:30
Aditya Telange c17406565e Update footer styles for improved scroll-to-top button
- Adjust top-link padding and transition effects
- Replace SVG icon with a more detailed chevron design
2026-04-11 14:10:28 +05:30
Aditya Telange 7ca348827e Update terms.html to use LinkTitle instead of Name 2026-04-11 13:07:30 +05:30
Aditya Telange 8438531860 Remove scrollbar styles and related conditions from head.html
- Deprecates var `site.Params.assets.disableScrollBarStyle`
2026-04-11 12:41:03 +05:30
Aditya Telange f5a9cf000f Refactor entry content rendering in home_info to use RenderString with display options 2026-04-11 00:38:55 +05:30
Aditya Telange dd36eab662 Update home_info layout to use md-content class for entry content; adjust styles for improved consistency 2026-04-11 00:38:35 +05:30
Aditya Telange 383696db85 Refactor CSS class names from .post-content to .md-content 2026-04-11 00:31:48 +05:30
Aditya Telange cc93a30768 Refactor SVG paths for improved readability and maintainability 2026-04-11 00:09:35 +05:30
Aditya Telange cb2ecbadb9 Update kofi icon
thanks  to simpleicons
2026-04-11 00:09:00 +05:30
Aditya Telange 38cf5f95b6 Add audio and video shortcodes with basic controls; enhance CSS for media elements 2026-04-11 00:05:00 +05:30
50745e5e2f Allow certain pages to be excluded from RSS feed (#1833)
* Allow certain pages to be excluded from RSS feed

This line adds support for the possibility to exclude a certain page from the RSS feed by adding a param to the front matter:

```
---
hiddenInRss: true
---
```

---------

Co-authored-by: Gerrit Beine <mail@gerritbeine.com>
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2026-04-05 18:31:03 +05:30
Patrice Chalin a2f09c8c0d [PATCH] tpl/tplimpl: Trim descriptions rather than just chomp
from https://github.com/gohugoio/hugo/commit/039845804fd545de18a3c4f17f8f7b3ad3bf615b
2026-03-08 22:37:57 +05:30