Puppet is a responsive, simple and clean Hugo theme based on the Huxblog Jekyll theme.
Install Hugo
Make sure you have installed the latest version of Hugo-extented.
Create a New Site
|
|
Add the Theme
You can download and unpack the theme manually from Github or use git to clone the theme into your site’s themes
directory.
|
|
Or you can add the theme as a submodule.
|
|
That’s all, Puppet is ready to be used.
Add Config Files
For getting started, you can copy the config.toml
file from the theme’s exampleSite directory to the root directory of your site.
|
|
Note: You may need to delete the
themesDir
line in the config file.
Add Some Content
Create a new post with the following command.
|
|
Edit the content of the post.
|
|
Some front-matter used for SEO, others used for displaying contents, configuration, etc.
Run example site
From the root of themes/puppet/exampleSite:
|
|