zola/docs/content/themes/hermit/index.md

2.2 KiB

+++ title = "Hermit_Zola" description = "Minimal Zola theme" template = "theme.html" date = 2024-09-02T05:58:27Z

[extra] created = 2024-09-02T05:58:27Z updated = 2024-09-02T05:58:27Z repository = "https://github.com/VersBinarii/hermit_zola.git" homepage = "https://github.com/VersBinarii/hermit_zola" minimum_version = "0.4.0" license = "MIT" demo = "https://versbinarii.gitlab.io/blog/"

[extra.author] name = "VersBinarii" homepage = "https://versbinarii.gitlab.io/blog/" +++

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!