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

105 lines
2.2 KiB
Markdown

+++
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](https://travis-ci.org/VersBinarii/hermit_zola.svg?branch=master)](https://travis-ci.org/VersBinarii/hermit_zola)
# Hermit
> this is a port of the [Hermit theme](https://github.com/Track3/hermit) for [Zola](https://www.getzola.org/)
Hermit is a minimal & fast Zola theme for bloggers.
![screenshot](screenshot.png)
[View demo](https://versbinarii.gitlab.io/blog/)
## Installation
First download the theme to your `themes` directory:
```bash
$ cd themes
$ git clone https://github.com/VersBinarii/hermit_zola
```
and then enable it in your `config.toml`:
```toml
theme = "hermit_zola"
```
## Configuration
```toml
[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](LICENSE)
Thanks to [Track3](https://github.com/Track3) for creating the original!