A Hugo minimalistic theme for bloggers
Create a new Hugo site:
$ hugo new site [path]
Clone this repository into themes/
directory:
$ cd [path]
$ git clone https://github.com/vaga/hugo-theme-m10c.git themes/m10c
Add this line in the config.toml
file:
theme = "m10c"
In your config.toml
file, define the following variables in params
:
author
: Name of the authordescription
: Short description of the authoravatar
: Path of file containing the author avatar image
To add a social link, add the following lines in params
:
[[params.social]]
name = "github"
url = "https://github.com/vaga"
To change theme colors, add the following lines in params
:
[params.style]
darkestColor = "#d35050"
darkColor = "#212121"
lightColor = "#f5e3e0"
lightestColor = "#f5f5f5"
primaryColor = "#fff"
If you want the above theme colors, you can see the exampleSite/config.toml file.
This theme is released under the MIT License.