From 3c7fef6ba39bdedb93940488500e93c84b9ca362 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 11 Apr 2026 12:28:01 +0530 Subject: [PATCH 01/12] Update README.md and adjust shield labels and resource table layout --- README.md | 62 +++++++++++++++++++++---------------------------------- 1 file changed, 24 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 9fc46f0345..678df9ae4d 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,16 @@ **A fast, clean, and responsive theme for [Hugo](https://gohugo.io/).** [](https://themes.gohugo.io/themes/hugo-papermod/) -[](https://github.com/gohugoio/hugo/releases/tag/v0.146.0) +[](https://github.com/gohugoio/hugo/releases/tag/v0.146.0) [](https://discord.gg/ahpmTvhVmp) -[](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE) - > Based on [hugo-paper](https://github.com/nanxiaobei/hugo-paper/tree/4330c8b12aa48bfdecbcad6ad66145f679a430b3), with additional features and customization options. -| Resource | Link | -|----------|------| -| Live Demo | [adityatelange.github.io/hugo-PaperMod](https://adityatelange.github.io/hugo-PaperMod/) | -| Documentation | [Wiki](https://github.com/adityatelange/hugo-PaperMod/wiki) | -| Example Site Source | [exampleSite branch](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite) | +| Resource | Link | +| ------------------- | --------------------------------------------------------------------------------------- | +| Live Demo | [adityatelange.github.io/hugo-PaperMod](https://adityatelange.github.io/hugo-PaperMod/) | +| Documentation 📚 | [Wiki](https://github.com/adityatelange/hugo-PaperMod/wiki) | +| Example Site Source | [exampleSite branch](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite) |
@@ -22,7 +20,9 @@
---
-## Features
+## Features 💥
+
+`☄️ Fast | ☁️ Fluent | 🌙 Smooth | 📱 Responsive`
- **Asset pipeline** -- Hugo's built-in asset generator with fingerprinting, bundling, and minification.
- **Three layout modes** -- [Regular](https://github.com/adityatelange/hugo-PaperMod/wiki/Features#regular-mode-default-mode), [Home-Info](https://github.com/adityatelange/hugo-PaperMod/wiki/Features#home-info-mode), and [Profile](https://github.com/adityatelange/hugo-PaperMod/wiki/Features#profile-mode).
@@ -40,41 +40,27 @@
- **Related post suggestions**
- **Zero JS build dependencies** -- No webpack, Node.js, or other tooling required.
-For the full list, see the **[Features wiki page](https://github.com/adityatelange/hugo-PaperMod/wiki/Features)**.
-
----
-
-## Installation
-
-Detailed installation and update instructions are available in the **[Installation guide](https://github.com/adityatelange/hugo-PaperMod/wiki/Installation)**.
-
----
-
-## FAQs and How-To Guides
-
-Common questions and configuration walkthroughs are covered in the **[FAQ wiki](https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs)**.
+| Topic | Description |
+| ------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
+| **[Installation guide](https://github.com/adityatelange/hugo-PaperMod/wiki/Installation)** | Detailed installation and update instructions |
+| **[Features wiki page](https://github.com/adityatelange/hugo-PaperMod/wiki/Features)** | In-depth explanations of all features |
+| **[FAQ wiki](https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs)** | Common questions and configuration walkthroughs |
+| **[Icons wiki](https://github.com/adityatelange/hugo-PaperMod/wiki/Icons)** | Documentation for social icons and share icons |
+| **[Variables wiki](https://github.com/adityatelange/hugo-PaperMod/wiki/Variables)** | List of all available template variables |
+| **[Overiding templates](https://github.com/adityatelange/hugo-PaperMod/wiki/Template_Overrides)** | Guide to customizing templates without forking |
+| **[Releases](https://github.com/adityatelange/hugo-PaperMod/releases)** | Detailed history of releases |
---
-## Icons
-
-Documentation for social icons and share icons can be found in the **[Icons wiki](https://github.com/adityatelange/hugo-PaperMod/wiki/Icons)**.
-
----
-
-## Changelog
-
-See **[Releases](https://github.com/adityatelange/hugo-PaperMod/releases)** for a detailed history of changes.
-
----
-
-## Performance
+## Performance ☄️
PaperMod consistently scores near-perfect results on [Pagespeed Insights](https://pagespeed.web.dev/report?url=https://adityatelange.github.io/hugo-PaperMod/).
+
+
---
-## Support
+## Support 🫶
- Star this repository to show your support.
- Share PaperMod with others who might find it useful.
@@ -82,7 +68,7 @@ PaperMod consistently scores near-perfect results on [Pagespeed Insights](https:
---
-## Acknowledgements
+## Special Thanks 🌟
- [Highlight.js](https://github.com/highlightjs/highlight.js)
- [Fuse.js](https://github.com/krisk/fuse)
@@ -92,6 +78,6 @@ PaperMod consistently scores near-perfect results on [Pagespeed Insights](https:
---
-## Stargazers
+## Stargazers 📈
[](https://starchart.cc/adityatelange/hugo-PaperMod)
From 84385318607f2e8c5aea9acd0f0680a7a5f69049 Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Sat, 11 Apr 2026 12:41:03 +0530
Subject: [PATCH 02/12] Remove scrollbar styles and related conditions from
head.html - Deprecates var `site.Params.assets.disableScrollBarStyle`
---
assets/css/includes/scroll-bar.css | 59 ------------------------------
layouts/partials/head.html | 11 ------
2 files changed, 70 deletions(-)
delete mode 100644 assets/css/includes/scroll-bar.css
diff --git a/assets/css/includes/scroll-bar.css b/assets/css/includes/scroll-bar.css
deleted file mode 100644
index 1e0656e097..0000000000
--- a/assets/css/includes/scroll-bar.css
+++ /dev/null
@@ -1,59 +0,0 @@
-/* from reset */
-::-webkit-scrollbar-track {
- background: 0 0;
-}
-
-::-webkit-scrollbar-thumb {
- background: var(--tertiary);
- border: 5px solid var(--theme);
- border-radius: var(--radius);
-}
-
-[data-theme="light"] .list::-webkit-scrollbar-thumb {
- border: 5px solid var(--code-bg);
-}
-
-::-webkit-scrollbar-thumb:hover {
- background: var(--secondary);
-}
-
-::-webkit-scrollbar:not(.highlighttable, .highlight table, .gist .highlight) {
- background: var(--theme);
-}
-
-/* from post-single */
-.md-content .highlighttable td .highlight pre code::-webkit-scrollbar {
- display: none;
-}
-
-.md-content :not(table) ::-webkit-scrollbar-thumb {
- border: 2px solid var(--code-block-bg);
- background: rgb(113, 113, 117);
-}
-
-.md-content :not(table) ::-webkit-scrollbar-thumb:hover {
- background: rgb(163, 163, 165);
-}
-
-.gist table::-webkit-scrollbar-thumb {
- border: 2px solid rgb(255, 255, 255);
- background: rgb(173, 173, 173);
-}
-
-.gist table::-webkit-scrollbar-thumb:hover {
- background: rgb(112, 112, 112);
-}
-
-.md-content table::-webkit-scrollbar-thumb {
- border-width: 2px;
-}
-
-/* from zmedia */
-@media screen and (min-width: 768px) {
-
- /* reset */
- ::-webkit-scrollbar {
- width: 19px;
- height: 11px;
- }
-}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 565709b47a..9edc894b4d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -42,11 +42,6 @@
{{- $includes := slice }}
{{- $includes = $includes | append (" " | resources.FromString "assets/css/includes-blank.css")}}
-{{- if not (eq site.Params.assets.disableScrollBarStyle true) }}
- {{- $ScrollStyle := (resources.Get "css/includes/scroll-bar.css") }}
- {{- $includes = (append $ScrollStyle $includes) }}
-{{- end }}
-
{{- $includes_all := $includes | resources.Concat "assets/css/includes.css" }}
{{- $theme_vars := (resources.Get "css/core/theme-vars.css") }}
@@ -139,12 +134,6 @@
}
}
- @media (prefers-color-scheme: light) {
- .list::-webkit-scrollbar-thumb {
- border-color: var(--code-bg);
- }
- }
-
{{- end }}
From 730ab0de355b075301bbe0f6ee84fa082a69328f Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Sat, 11 Apr 2026 13:02:59 +0530
Subject: [PATCH 03/12] Remove focus outline 0 from footer and search styles
---
assets/css/common/footer.css | 5 -----
assets/css/common/post-single.css | 4 ----
assets/css/common/search.css | 1 -
3 files changed, 10 deletions(-)
diff --git a/assets/css/common/footer.css b/assets/css/common/footer.css
index 5addb1e0fb..5f65cb2113 100644
--- a/assets/css/common/footer.css
+++ b/assets/css/common/footer.css
@@ -53,8 +53,3 @@
.top-link:hover {
color: var(--primary);
}
-
-.top-link:focus,
-#theme-toggle:focus {
- outline: 0;
-}
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css
index 34a0847240..b21b9b0f19 100644
--- a/assets/css/common/post-single.css
+++ b/assets/css/common/post-single.css
@@ -82,10 +82,6 @@
margin-inline-start: var(--gap);
}
-.toc summary:focus {
- outline: 0;
-}
-
.post-content {
color: var(--content);
margin: 30px 0;
diff --git a/assets/css/common/search.css b/assets/css/common/search.css
index 38d5b6bc41..bba7c1b388 100644
--- a/assets/css/common/search.css
+++ b/assets/css/common/search.css
@@ -36,7 +36,6 @@
height: 100%;
top: 0px;
left: 0px;
- outline: none;
}
#searchResults .focus {
From 7ca348827e9d744504135095afa18de8d2e58000 Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Sat, 11 Apr 2026 13:07:30 +0530
Subject: [PATCH 04/12] Update terms.html to use LinkTitle instead of Name
---
layouts/_default/terms.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 6fd26540b7..2c723c5739 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -18,7 +18,7 @@