mirror of
https://github.com/dedfaf/hugo-PaperMod2C.git
synced 2026-06-05 12:39:15 +00:00
Apply side-toc to Hugo Paper theme.
https://dedfaf.tech
- HTML 88.6%
- CSS 9.4%
- JavaScript 2%
| .github | ||
| assets | ||
| i18n | ||
| images | ||
| layouts | ||
| static/icons | ||
| go.mod | ||
| LICENSE | ||
| README.md | ||
| theme.toml | ||
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
I’ve 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.