Apply side-toc to Hugo Paper theme. https://dedfaf.tech
  • HTML 88.6%
  • CSS 9.4%
  • JavaScript 2%
Find a file
2026-05-29 18:12:09 +08:00
.github ci(workflows): upgrade checkout and configuration actions to latest versions 2026-04-26 17:15:13 +05:30
assets feat: Adjust home first-entrance top gapping. Adjust redirect color 2026-05-21 17:38:21 +08:00
i18n feat: Show redirect source in entry content 2026-05-21 17:16:48 +08:00
images images: update 2020-09-25 13:35:31 +05:30
layouts feat: Comment placeholder parameter 2026-05-29 18:12:09 +08:00
static/icons feat: Move svg to static/ 2026-05-21 15:48:04 +08:00
go.mod Update Go version to 1.16 in go.mod 2026-04-11 14:21:17 +05:30
LICENSE Update LICENSE 2026-01-09 21:41:22 +05:30
README.md Merge from upsteram & Tidy code 2026-05-18 15:55:48 +08:00
theme.toml Update theme.toml for homepage and tag consistency 2026-04-11 14:39:16 +05:30

PaperMod2C

This repository is created to apply the changes from pull request #675(Toc on the side) to the Hugo PaperMod theme. It may occasionally be synchronized with the upstream repository in the future.

Additional functions

Add or modified some functions, as below:

Hero Image

Ive added a feature for a large image on the homepage (For personal use). Add

# hugo.yaml
params:
  ...
  homeInfoParams:
    Title: ...
    Content: ...
    Image: "Your Image URL Here"

in hugo.yaml (or other formats) to enable it.

footbar text above

Allows to put footbar text on a new line above.

# hugo.yaml
params:
  ...

  footer:
    text: ...
    textAbove: true

And also, the top menu is aligned to the left (which I personally prefer). Reverted, simple personal preference changes should be implemented via overrides rather than modifying the theme.

Install & Details

check https://adityatelange.github.io/hugo-PaperMod/, you only need to change the submodule URL to this repo.