2023-07-12 20:07:05 +00:00
+++
title = "anemone"
2023-09-22 09:07:16 +00:00
description = "A minimalist Zola theme that prioritizes clean CSS and avoids heavy JavaScript. Enjoy a seamless user experience with lightning-fast load times. Let your content take center stage in a clutter-free, elegant design that enhances readability. Responsive and efficient, anemone brings focus to your ideas."
2023-07-12 20:07:05 +00:00
template = "theme.html"
2024-02-04 21:39:07 +00:00
date = 2024-01-25T10:41:35+02:00
2023-07-12 20:07:05 +00:00
[extra]
2024-02-04 21:39:07 +00:00
created = 2024-01-25T10:41:35+02:00
updated = 2024-01-25T10:41:35+02:00
2023-07-12 20:07:05 +00:00
repository = "https://github.com/Speyll/anemone"
homepage = "https://github.com/Speyll/anemone"
minimum_version = "0.4.0"
license = "MIT"
demo = "https://anemone.pages.dev"
[extra.author]
2023-09-22 09:07:16 +00:00
name = "Speyll"
2023-07-12 20:07:05 +00:00
homepage = "https://speyllsite.pages.dev/"
+++
# anemone
2023-09-22 09:07:16 +00:00
Introducing "anemone," a minimalist [Zola ](https://www.getzola.org ) theme that prioritizes clean CSS and avoids heavy JavaScript. Enjoy a seamless user experience with lightning-fast load times. Let your content take center stage in a clutter-free, elegant design that enhances readability. Responsive and efficient, anemone brings focus to your ideas.
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
You can browse the demo website [here ](https://anemone.pages.dev/ )
I also use it on my own [website. ](https://speyllsite.pages.dev/ )
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
Anemone is a versatile Zola theme that comes with both light and dark variants. You can easily switch between the light and dark themes to suit your preferences.
![Anemone Light and Dark Theme ](screenshot.png )
### Installation
To get started with Anemone, follow these simple steps:
1. Download the theme to your `themes` directory:
2023-07-12 20:07:05 +00:00
```bash
cd themes
git clone https://github.com/Speyll/anemone
```
2023-09-22 09:07:16 +00:00
2. Enable Anemone in your `config.toml` :
2023-07-12 20:07:05 +00:00
```toml
theme = "anemone"
```
2023-09-22 09:07:16 +00:00
### Options
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
Anemone provides various options to customize your website:
#### Default Taxonomies
To use tags, add the following code to a page's metadata:
2023-07-12 20:07:05 +00:00
```toml
[taxonomies]
2023-09-22 09:07:16 +00:00
tags = ["tag1", "tag2"]
2023-07-12 20:07:05 +00:00
```
2023-09-22 09:07:16 +00:00
#### Pages List in Homepage
Enable listing of pages in the homepage by adding the following code to `config.toml` :
2023-07-12 20:07:05 +00:00
```toml
[extra]
list_pages = true
```
2023-09-22 09:07:16 +00:00
#### Multilanguage
The theme has a built-in feature that allows you to use multiple languages. For detailed instructions on how to use this feature, you can refer to the [Zola Multilingual documentation ](https://www.getzola.org/documentation/content/multilingual/ ). This documentation provides additional information on how to make the most out of this multilingual capability.
2023-07-12 20:07:05 +00:00
```toml
2023-09-22 09:07:16 +00:00
[languages.fr]
weight = 2
title = "anemone"
languageName = "Français"
languageCode = "fr"
2023-07-12 20:07:05 +00:00
```
2023-09-22 09:07:16 +00:00
#### Multilanguage-Ready Navigation Bar
Customize the header navigation links with the following code in the `extra` section of `config.toml` :
```toml
[extra]
2024-01-22 09:16:15 +00:00
header_nav = [
{ url = "/", name_en = "/home/", name_fr = "/accueil/" },
{ url = "/about", name_en = "/about/", name_fr = "/concernant/" },
{ url = "/journal", name_en = "/journal/", name_fr = "/journal/" },
{ url = "/blog", name_en = "/blog/", name_fr = "/blog/" }
]
```
#### Default Theme
2023-09-22 09:07:16 +00:00
2024-01-22 09:16:15 +00:00
To configure the default theme, simply utilize the `default_theme` variable and set it to either `light` or `dark` :
2023-09-22 09:07:16 +00:00
2024-01-22 09:16:15 +00:00
```toml
[extra]
default_theme = "light"
```
#### Display Author Name in Blog Posts
2023-09-22 09:07:16 +00:00
2024-01-22 09:16:15 +00:00
Customize the display of the author's name in your blog posts by toggling the `display_author` variable to either `true` or `false` :
```toml
[extra]
display_author = true
2023-09-22 09:07:16 +00:00
```
### Webrings
Add a webring with a shortcode:
```html
{{/* webring(prev="#", webring="#", webringName="Random Webring", next="#") */}}
```
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
#### Add Table of Contents (TOC) to Pages
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
In a page's frontmatter, set `extra.toc` to `true` :
2023-07-12 20:07:05 +00:00
```toml
[extra]
toc = true
```
2023-09-22 09:07:16 +00:00
### Extra Data
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
- Set the `author` in both the main config and in pages' metadata.
- Use the `image` variable in pages to add an image to HTML `<meta>` tags.
- Similarly, set `favicon` in the main config, and it will be used as the site icon.
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
#### Disable Twitter Card
2023-07-12 20:07:05 +00:00
2023-09-22 09:07:16 +00:00
Twitter metatags are generated by default. To disable them, set `extra.twitter_card` to `false` in `config.toml` :
2023-07-12 20:07:05 +00:00
```toml
[extra]
twitter_card = true
```
2023-09-22 09:07:16 +00:00
### License
2023-07-12 20:07:05 +00:00
2024-01-22 09:16:15 +00:00
The Anemone theme is available as open source under the terms of the [MIT License ](LICENSE ).
2023-07-12 20:07:05 +00:00