Northlight needs Hugo extended 0.164.0 or newer and nothing else. No Node, no npm, no CSS framework, no build step beyond Hugo itself.
Install#
As a submodule, which is the route that needs no Go toolchain:
hugo new site my-blog
cd my-blog
git init
git submodule add https://github.com/mortennordbye/northlight.git themes/northlightOr as a Hugo Module, if you already use them:
[module]
[[module.imports]]
path = "github.com/mortennordbye/northlight"Then point the site at it:
theme = "northlight"Required configuration#
Four settings the theme cannot work without, and each fails in a way that looks like a theme bug if you skip it.
[markup.highlight]
noClasses = false # Chroma emits CSS classes, which the theme styles.
# Leave it true and every code block renders unstyled.