Commit Graph

512 Commits

Author SHA1 Message Date
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 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 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
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
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
Strubbl 7fa2cf7642 add the name of the alt. output format as title (#1793) 2025-09-28 19:23:00 +05:30
Mohammad Etemaddar 6bb81981e6 Add iNaturalist icon to partials/svg (#1795)
* Add iNaturalist icon to partials/svg

* Clean up SVG by removing mask definitions

Removed unused mask definitions from SVG for inaturalist icon.

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2025-09-28 00:53:29 +05:30
Aditya Telange ac64b01989 fix(translation_list): wrap translation label in a span for better styling
fix(post_meta): add span tags for reading time, word count, and author metadata
fix(edit_post): wrap edit link in a span for consistent styling
2025-09-27 00:04:33 +05:30
David Guillot 4d9a3e3f2a fix(post_meta): default to localized date formatting (#1552)
Fixes #1611

See Hugo docs: https://gohugo.io/functions/time/format/#localization
2025-09-20 21:29:48 +05:30
Mohammad Etemaddar 0a5bd487e0 Fix extra closing tag in strava in partials/svg (#1794) 2025-09-20 19:56:14 +05:30
Anthony Accioly ff85b9cd65 Add social icon for Nostr (#1694) 2025-09-13 23:08:42 +05:30
HitCat 8ea01a6e85 Add SVG for YesWeHack (#1791) 2025-09-13 22:59:19 +05:30
Anthony Accioly d3bc6af9b6 Add social icon for zcal (#1746) 2025-05-24 10:20:20 +05:30
James ee1e0f3aa3 Add rel=edit attribute to change suggestion link 2025-05-17 23:32:29 +05:30
Jake Bailey 7cf752f864 Implement fixes for refreshed template system for Hugo v0.146.0+ (#1726) 2025-04-20 11:46:23 +05:30
Aditya Telange 72615b6d49 Feat/improve cover image gen (#1628)
* Refactor cover.html

* Refactor 2

* Refactor 3

* Refactor 4

* Refactor 5

* add comments and refactor more

* Refactor cover.html to use <figcaption> for image captions

* Add comments and manage whitespace

* Remove pointer-event prevention from entry-cover image
2025-03-08 23:30:00 +05:30
David Guillot e2e1011bde [FEATURE] new opengraph 'fediverse:creator' meta (#1619)
**Usage**

Site level:

params:
  social:
    fediverse_creator: "@username@mastodon.social"

Page (Overrides Site level value):

---
title: "My Page"
social:
  fediverse_creator: "@username@mastodon.social"
---


Closes #1618 #1642

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2025-03-01 20:51:06 +05:30
PepeV_nRT b4a056662a Add social icon for Nextcloud (#1683) 2025-03-01 19:28:49 +05:30
Massimo Barbieri fd10e80d47 Add social icon for Jamendo (#1685)
Co-authored-by: PepeV_nRT <153303346+pepev-nrt@users.noreply.github.com>
2025-03-01 19:26:40 +05:30
misdirectionmaster 96418e7ab6 Add Whatsapp icon to social icons (#1531)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2025-03-01 13:06:26 +05:30
GiggleSquid 6d82e5054d feat: add svg icon for linktree (#1652) 2025-03-01 12:21:45 +05:30
Colton Loftus bd46db414e Add aria-label to theme toggle button for accessibility (#1669) 2025-03-01 12:18:36 +05:30
Davide Cultrera f84eeba36e Improve style consistency of Bluesky SVG icon (#1679) 2025-03-01 12:16:27 +05:30
PepeV_nRT 78ac395814 Add social icon for Forgejo (#1684) 2025-03-01 12:14:00 +05:30
Chris Natoli 9b297ff00d add farcaster logo to social icons (#1686) 2025-03-01 12:10:53 +05:30
PepeV_nRT 243ba38a34 Add social icon for Bookwyrm (#1681) 2025-02-22 23:03:41 +05:30
Morgan Roderick 0ff8237eed chore: remove obsolete polywork icon (#1677)
The service has been shutdown as of 2025-01-31 and is no more

See https://deepnewz.com/startups/polywork-irish-startup-backed-stripe-collison-brothers-to-shut-down-560973fe
2025-02-09 12:04:39 +05:30
Joe Mooring 5a2a88cab1 [PATCH] tpl/tplimpl: Fix double-escaping in opengraph template
cherry-picked from gohugoio/hugo@fb51b69
2024-11-09 11:48:39 +05:30
Aditya Telange d360267d4e Re-add support for cover images in OpenGraph
4a4d0c0
2024-11-09 11:46:39 +05:30
Joe Mooring 8c5833bad0 [PATCH] tpl/tplimpl: Improve embedded opengraph template
Changes:

- Add tags per documentation
- Prefer site.Title over site.Params.title
- Plainify titles, tags, and descriptions
- Add fallback values for locale
- Fix pages related by series
- Improve readability

Co-authored-by: tomy0000000 <git@tomy.me>
Co-authored-by: sean-au <sean@powerfulwebdesign.com.au>
2024-11-09 11:39:26 +05:30
Aditya Telange aebcc92712 JSON Schema uses 'image' for a Person and 'logo' for an Organization. 2024-11-08 21:35:34 +05:30
Hong Xu 0234865f62 Replace thumbnailUrl with logo for json schema (#1488)
thumbnailUrl is not part of Organization: https://schema.org/Organization
2024-11-08 21:20:24 +05:30
Joe Mooring 862630533c [PATCH] tpl/tplimpl: Remove trailing slash from void elements
cherry-picked from gohugoio/hugo@2f7df4b
2024-11-03 13:58:35 +05:30
Joe Mooring 65bd711a3b [PATCH] hugolib: Deprecate site methods Author, Authors, and Social
cherry-picked from gohugoio/hugo@d4d49e0
2024-11-03 13:57:32 +05:30
Geeqla a2eb47bb4b Add a social icon for Wikipedia (#1600) 2024-09-15 13:41:52 +05:30
Geeqla e2dad36011 Add a social icon for Dzen (#1599) 2024-09-15 13:38:44 +05:30
Saeed Esmaili 3f50861a0c add 500px icon (#1465)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2024-05-11 20:11:35 +05:30
Aditya Telange 8dfd322c8a Refactor svgs 2024-05-11 19:54:06 +05:30