A Hugo theme based on @oxalorg's Sakura.css and inspired by Etch
In your site's root dir
git submodule add https://github.com/bohrium272/hugo-sakura.git themes/sakura
Set the theme in your config.toml/yaml/json
theme = "sakura"
Assuming your posts are present in a folder content/xyz
, add mainSections
to your site configuration
- config.toml
[params]
mainSections = ["xyz"]
- config.yaml
params:
mainSections:
- xyz
- config.json
{
"params": {
"mainSections": ["xyz"]
}
}
Set params.sakuraTheme
to one of:
- dark
- dark-solarized
- earthly
- ink
- vader
Check out the themes here
When not set, the light theme is used.