b33b96873f | ||
---|---|---|
.github | ||
assets | ||
i18n | ||
images | ||
layouts | ||
LICENSE | ||
Makefile | ||
README.md | ||
go.mod | ||
theme.toml |
README.md
WonderMod (PaperMod fork - theme for Hugo)
What is this?
WonderMod is a fork of an original theme for Hugo called PaperMod (made by adityatelange). Since PaperMod isn't interested in a few changes such as removing inline JavaScript, which I personally require to harden my websites, I decided to maintain my own fork (I didn't want to keep overwriting a bunch of files as a fork workflow is much cleaner). Don't expect a ton of changes, and unless you know me, you probably don't want to use WonderMod.
Main changes
Current "main" changes are as follows:
- Remove inline JavaScript (2528906)
- Improved YouTube shortcode (4dc3bee)
- Built-in Chroma instead of client-side syntax highlighting with HLJS (841141)
- Responsive Table of Contents with side display support (2303605)
- Bunch of CSS and other changes (see commit history)
Credits
Additional credits:
- PaperModX by reorx
Configure
Most of the installation process and settings are shared with the original PaperMod, so check out their documentation. One noticeable difference though is that in order to enable syntax highlighting, you have to add this to your config.yml
:
markup:
highlight:
style: dracula
noClasses: false
guessSyntax: true
See Hugo documentation for more options.