all repos — anemone @ master

Nearly no javascript, minimalist efficient zola theme.

95499d0a
better tags formatting
Andronaco Marco marco.andronaco@olivetti.com
Sun, 16 Jul 2023 21:21:05 +0200
485bd05e
add margin to section pages
Marco Andronaco andronacomarco@gmail.com
Fri, 14 Jul 2023 18:32:36 +0200
c388dde7
change theme link
Marco Andronaco andronacomarco@gmail.com
Fri, 14 Jul 2023 15:43:00 +0200

anemone

Nearly no-Javascript, efficient, minimal Zola theme. I use it on my own website

Light and dark theme

screenshotLight

Installation

First download this theme to your themes directory:

cd themes
git clone https://github.com/Speyll/anemone

and then enable it in your config.toml:

theme = "anemone"

Options

Default taxonomies

To use tags, in a page metadata add

[taxonomies]
tags = [ 'tag1', 'tag2' ]

Pages list in homepage

To enable listing of pages in homepage add the following in config.toml

[extra]
list_pages = true

Header and footer nav links

Also in the extra section in config.toml

[extra]

header_nav = [
  { name = "/home/", url = "/" },
  { name = "/about/", url = "/about" },
  { name = "/journal/", url = "/journal" },
  { name = "/blog/", url = "/blog" },
]

footer_nav = [
  { name = "< previous", url = "#" },
  { name = "webring", url = "#" },
  { name = "next >", url = "#" },
]

Add TOC to pages

In a page frontmatter, set extra.toc to true

[extra]
toc = true

Extra data

Disable Twitter card

Twitter metatags are generated by default, to disable them set extra.twitter_card to false in in your config.toml

[extra]
twitter_card = true

License

The theme is available as open source under the terms of the MIT License.

clone
git clone https://git.birabittoh.duckdns.org/anemone.git