A minimal theme for Hugo.
Demo site hosted on Github Pages.
Create a theme folder and add the repo.
$ mkdir themes
$ cd themes
$ git submodule add https://github.com/Clusravin/hugo-theme-constant.git hugo-theme-constant
See the Hugo documentation for more information.
Set theme parameter in your config file.
theme = "hugo-theme-constant"
Run Hugo server to set up the example site.
make hugo-server
The default start page template is located at themes/hugo-theme-constant/layouts/index.html
. To change the page content, you to need to copy this file to
your website top-level layouts
folder (layouts/index.html
).
Copyright © 2024 Fan Zirui
The theme is released under the MIT License. Check the original theme license for additional licensing information.