Schneider
7fe0f2c915
|
8 years ago | |
---|---|---|
archetypes | 10 years ago | |
exampleSite | 8 years ago | |
images | 10 years ago | |
layouts | 8 years ago | |
static | 8 years ago | |
CHANGELOG.md | 9 years ago | |
LICENSE.md | 8 years ago | |
README.md | 8 years ago | |
theme.toml | 8 years ago |
README.md
Cactus Theme
Toasted Cactus is a really minimalistic theme for bloggers based on Cactus for Hugo. Tracking code, sharing, disqus and highlight.js were removed, resulting in a base design < 5kb minified and gzipped.
Installation
Inside the folder of your Hugo site run:
$ cd themes
$ git clone https://git.webschneider.org/schneider/toasted-cactus
For more information read the official setup guide of Hugo.
The config file
Take a look inside the exampleSite
folder of this theme. You'll find a file called config.toml
.
To use it, copy the config.toml
in the root folder of your Hugo site. Feel free to change strings as you like to customize your website.
Make sure to update the themesDir
property in the config file to point to your site's theme folder otherwise an error will be thrown indicating the themes folder is unable to be found.
About page
Use the about page to introduce yourself to your visitors. You can customize the content as you like in the config.toml
. Furthermore, you should replace the avatar placeholder with a great image of yourself.
Hide pages
Pages can be hidden and don't appear in the post list on the homepage if you add the variable hidden = true
to the frontmatter. This allows you to link from elsewhere, i.e. just the menu.
Nearly finished
In order to see your site in action, run Hugo's built-in local server.
$ hugo server
Now enter localhost:1313
in the address bar of your browser.
License
This theme is released under the MIT license. For more information read the license.
Acknowledgements
Thanks to
- digitalcraftsman for porting the Cactus theme
- Nick Balestra for creating the original theme
- Steve Francia for creating Hugo and the awesome community around the project.