mirror of https://github.com/getzola/zola
87 lines
1.7 KiB
Markdown
87 lines
1.7 KiB
Markdown
|
|
+++
|
|
title = "henry"
|
|
description = "A timeless blog 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/sirodoht/zola-henry.git"
|
|
homepage = "https://github.com/sirodoht/zola-henry"
|
|
minimum_version = "0.4.0"
|
|
license = "MIT"
|
|
demo = "https://sirodoht.github.io/zola-henry/"
|
|
|
|
[extra.author]
|
|
name = "sirodoht"
|
|
homepage = ""
|
|
+++
|
|
|
|
# henry
|
|
|
|
Henry is a single-column [Zola](https://github.com/getzola/zola) theme based on the original Jekyll styles.
|
|
|
|
Demo -> [https://sirodoht.github.io/zola-henry/](https://sirodoht.github.io/zola-henry/)
|
|
|
|
![screenshot for home page](screenshot.png)
|
|
|
|
![screenshot for posts](screenshot-post.png)
|
|
|
|
![screenshot for any other page](screenshot-page.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/benbalter", name = "GitHub"},
|
|
]
|
|
```
|
|
|
|
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"
|
|
```
|
|
|
|
### Footer Twitter icon link
|
|
|
|
Twitter is too mainstream and a bit lame, but 100% of our users have requested, so we offer it.
|
|
|
|
```toml
|
|
[extra]
|
|
henry_twitter = "https://twitter.com/benbalter"
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|
|
|
|
|