Refresh is a simple, light, low-code theme designed for blogs running on Hugo.
You'll need to have installed Hugo and created a new site before you can install the theme.
To install Hugo, follow the official installation guide.
Refresh has only been tested on Hugo v0.75.1. The theme may fail to compile on lower versions.
Use the following command to create a new Hugo site:
hugo new site mysite
Navigate to your site's directory.
cd mysite
Use the following command to clone this repository into your Hugo themes
directory:
git clone https://github.com/stuartmccoll/hugo-theme-refresh.git
After an initial install of the theme, generate your Hugo site using this command:
hugo
After this, you can use the following command for local development:
hugo server
Your site will be running locally at localhost:1313
.
There are a number of configuration settings which should be copied from example.config.toml
into your local config.toml
.
The default values in the following should be replaced:
licenseType = "CC BY 4.0"
licenseLink = "https://creativecommons.org/licenses/by/4.0"
issuesLink = "https://github.com/stuartmccoll/hugo-theme-refresh/issues/new"
mastodonUsername = "@stuartmccoll@hachyderm.io"
See LICENSE.