zola/docs/content/themes/toucan/index.md
2020-10-03 08:39:18 +00:00

63 lines
1.2 KiB
Markdown

+++
title = "Toucan"
description = "Inspired from Pelican default theme"
template = "theme.html"
date = 2020-10-03T11:38:17+03:00
[extra]
created = 2020-10-03T11:38:17+03:00
updated = 2020-10-03T11:38:17+03:00
repository = "https://git.42l.fr/HugoTrentesaux/toucan.git"
homepage = "https://git.42l.fr/HugoTrentesaux/toucan"
minimum_version = "0.8.0"
license = "AGPL"
demo = "http://blog.coinduf.eu/"
[extra.author]
name = "Hugo Trentesaux"
homepage = "https://trentesaux.fr/"
+++
# Toucan
A light theme for Zola adapted from Pelican.
![screenshot](./screenshot.png)
## Installation
You can add the theme as a submodule :
```bash
git submodule add --name toucan https://git.42l.fr/HugoTrentesaux/toucan.git themes/toucan
```
and enable the theme in your `config.toml`
```toml
theme = "toucan"
```
## Usage
Categories will be added to the menu, and all articles from categories with
```toml
transparent = true
```
will be listed in the home page.
You can personalize the following options :
```toml
[extra]
title = "Toucan theme"
title_pic = "/favicon.ico"
description = "Theme for Zola inspired from Pelican website theme"
license = """Content under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a> Licence"""
```