|
5 months ago | |
---|---|---|
archetypes | 1 year ago | |
images | 8 months ago | |
layouts | 5 months ago | |
nix | 7 months ago | |
static/css | 7 months ago | |
.gitignore | 7 months ago | |
LICENSE.md | 8 months ago | |
README.md | 7 months ago | |
default.nix | 7 months ago | |
theme.toml | 7 months ago |
A minimal, monospaced blogging theme for Hugo that respects your privacy and is easy on your bandwidth.
A real-life example can be found at https://morph.sh.
smol is based on Blank created by Vimux.
In your Hugo site themes
directory, run:
git clone https://github.com/colorchestra/smol
Next, open config.toml
in the base of the Hugo site and ensure the theme option is set to smol
.
theme = "smol"
Lastly, add the following lines to your config.toml
to make use of all the menu entries in the header and footer sections if you need them.
# Header
[menu]
[[menu.main]]
identifier = "posts"
name = "Posts"
url = "/posts/"
weight = 1
[[menu.main]]
identifier = "categories"
name = "Categories"
url = "/categories/"
weight = 2
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
weight = 3
# Footer
[[menu.footer]]
name = "Github"
url = "https://github.com/example"
weight = 1
[[menu.footer]]
name = "Mastodon"
url = "https://example.com/@user"
weight = 2
[[menu.footer]]
name = "Imprint"
url = "/imprint"
weight = 3
For more information read the official quick start guide of Hugo.
Have you found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or make directly a pull request.
This theme is released under the MIT license.