Commit Graph

700 Commits

Author SHA1 Message Date
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
Gerrit Beine 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
Joe Mooring 3f20d3cd77 [PATCH] tpl/tplimpl: Plainify title and description in twitter_cards.html
from https://github.com/gohugoio/hugo/commit/74ab839ccb397ea9df1c96d71c5347f49f2b231a
2026-03-08 22:36:23 +05:30
Joe Mooring 59984fa98f [PATCH] tpl/tplimpl: Improve locale value in opengraph.html
from https://github.com/gohugoio/hugo/commit/87ab7f7ffce82f1c7a264f1f7daa97f13dc77fde
2026-03-08 22:25:45 +05:30
Bjørn Erik Pedersen da89fed021 [PATCH] tpl: Remove RSS deprecation site.Author check
The check itself creates a warning which I guess was not intended.

We could possibly make that work, but it has been deprecated since Hugo 0.98, so just remove the usage.

from https://github.com/gohugoio/hugo/commit/e07028cb90901931cd71a210f9d0b237d1bcc99f
2026-03-08 22:16:09 +05:30
Joe Mooring c1c1252519 [PATCH] tpl/tplimpl: Improve embedded templates
- Do not include the Hugo version in RSS feeds

from gohugoio/hugo@10a8448
2026-03-08 22:10:50 +05:30
Aditya Telange 3bb0ca281f Add support for llms.txt
The llms.txt file is an industry standard that helps LLMs index content more efficiently

hugo.yml =>
```yml
outputFormats:
  llms:
    mediaType: "text/plain"
    baseName: "llms"
    isPlainText: true
    notAlternative: true

outputs:
  home:
    - HTML
    - RSS
    - JSON
    - llms
```
2026-01-25 20:55:47 +05:30
Aditya Telange 1cf53273c3 Fix defaultTheme selection as we are using data-theme attribute
Refactor code for selecting class for body as list
2025-10-26 21:12:51 +05:30
Aditya Telange bb4f2dce35 Refactor theme decision logic into head.html for faster script execution. 2025-10-26 20:25:02 +05:30
Aditya Telange 466b48b5ba Fix Forced reflow in menu scroll handler
A forced reflow occurs when JavaScript queries geometric properties (such as offsetWidth) after styles have been invalidated by a change to the DOM state. This can result in poor performance.

https://pagespeed.web.dev/analysis/https-adityatelange-github-io-hugo-PaperMod/n5w29pnr5o?form_factor=mobile
2025-10-26 19:49:41 +05:30
Huang, Zhaoquan b63c195a10 Use data-theme attribute for theme switching and set color-scheme (#1808)
- Update theme toggle and initialization scripts to set data-theme attribute
- Replace CSS selectors using .dark class with [data-theme="dark"] and 
  [data-theme="light"] attribute selectors
- Set CSS color-scheme variable alongside theme colors for better native 
  control appearance
- Removes redundant styles

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2025-10-26 18:51:50 +05:30
Aditya Telange c98a924842 Revert "Add iNaturalist icon to partials/svg (#1795)" (#1803)
This reverts commit 6bb81981e6.
2025-10-09 17:55:18 +05:30
jamesnulliu 6e10faefc8 Allow disabling Language Toggle in header (#1633)
Add `site.Params.disableLangToggle` to disable language switch toggle if set to true.
2025-09-28 19:34:28 +05:30
Akram El Hadri 312906c27c Added social icon for Unity (#1760)
* Added social icon for Unity

SVG source: https://icons.getbootstrap.com/icons/unity/

* refactor

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2025-09-28 19:27:09 +05:30