Skip to content

VersBinarii/hermit_zola

Repository files navigation

Build Status

Hermit

this is a port of the Hermit theme for Zola

Hermit is a minimal & fast Zola theme for bloggers.

screenshot

View demo

Installation

First download the theme to your themes directory:

$ cd themes
$ git clone https://github.com/VersBinarii/hermit_zola

and then enable it in your config.toml:

theme = "hermit_zola"

Configuration

[extra]
home_subtitle = "Some profound and catchy statement"

footer_copyright = ' &#183; <a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'

hermit_menu = [
    { link = "/posts", name = "Posts" },
    { link = "/about", name = "About" }
]

hermit_social = [
    { name = "twitter", link = "https://twitter.com" },
    { name = "github", link = "https://github.com" },
    { name = "email", link = "mailto:author@domain.com" }
]



[extra.highlightjs]
enable = true
clipboard = true
theme = "vs2015"

[extra.disqus]
enable = false
# Take this from your Disqus account
shortname = "my-supa-dupa-blog"

[extra.author]
name = "The Author"
email = "author@domain.com"

[extra.google_analytics]
enable = false
id = "UA-4XXXXXXX-X"

Table of content

Table of content can be enabled by adding

+++
[extra]
toc=true
+++

to the page front matter. Icon will then appear above the page title that will allow to toggle the ToC.

License

MIT

Thanks to Track3 for creating the original!