zola/docs/content/themes/zola-henry/index.md

72 lines
1.3 KiB
Markdown
Raw Normal View History

+++
title = "henry"
description = "A timeless blog theme"
template = "theme.html"
date = 2020-09-02T11:42:41+05:30
[extra]
created = 2020-09-02T11:42:41+05:30
updated = 2020-09-02T11:42:41+05:30
repository = "https://github.com/sirodoht/zola-henry"
homepage = "https://github.com/sirodoht/zola-henry"
minimum_version = "0.4.0"
license = "MIT"
demo = ""
[extra.author]
name = "sirodoht"
homepage = ""
+++
# henry
Henry is a single-column [Zola](https://github.com/getzola/zola) theme based on the original Jekyll styles.
![Henry screenshot](screenshot.png)
## Installation
First download this theme to your `themes` directory:
```sh
$ cd themes
$ git clone https://github.com/sirodoht/zola-henry.git henry
```
and then enable it in your `config.toml`:
```toml
theme = "henry"
```
## Options
### Nav links
Set a field in `extra` with a key of `henry_links`:
```toml
[extra]
henry_links = [
{url = "/about", name = "About"},
{url = "https://github.com/patrick", name = "Projects"},
]
```
Each link needs to have a `url` and a `name`.
### Footer GitHub icon link
By default Henry ships with GitHub icon link in the right side of the footer. You can change its link href in your `config.toml`.
```toml
[extra]
henry_github = "https://github.com/sirodoht/zola-henry"
```
## License
MIT