Install theme
Prerequisites
First ensure that you have hugo installed.
You need a recent extended version (we recommend version 0.61 or later) of Hugo to do local builds and previews of sites (like this one) that uses this theme.
If you install from the release page, make sure to get the extended Hugo version, which supports sass; you may need to scroll down the list of releases to see it.
For comprehensive Hugo documentation, see gohugo.io.
Run your site with compose theme
You could go with the options right below.
Option 1 (my favorite)
This option enables you to load compose theme as a hugo module. First things first, ensure you have go binary installed on your machine.
| |
To pull in theme updates, run hugo mod get -u ./... from the theme folder. If unsure, learn how to update hugo modules
Option 2 (recommended)
Generate a new Hugo site and add this theme as a Git submodule inside your themes folder:
| |
Then run
| |
Hurray!
Option 3 (Great for testing quickly)
You can run your site directly from the exampleSite. To do so, use the following commands:
| |
Once set, jump over to the config.toml file and start configuring your site.