blow/theme.toml
Thomas Chartron 52aa4e7b90 update
2021-11-12 20:15:16 +01:00

73 lines
2 KiB
TOML

name = "Zola Tailwind"
description = "A Zola theme using Tailwindcss"
license = "MIT"
homepage = "https://github.com/tchartron/zola-tailwind"
# The minimum version of Zola required
min_version = "0.9.0"
# An optional live demo URL
demo = ""
# The theme author info: you!
[author]
name = "Thomas Chartron"
homepage = "https://tchartron.com"
# If this is porting a theme from another static site engine, provide
# the info of the original author here
# [original]
# author = "mdo"
# homepage = "https://markdotto.com/"
# repo = "https://www.github.com/mdo/hyde"
# Any variable there can be overridden in the end user `config.toml`
# You don't need to prefix variables by the theme name but as this will
# be merged with user data, some kind of prefix or nesting is preferable
# Use snake_casing to be consistent with the rest of Zola
[extra]
zt.enable_search = true
zt.enable_sidebar = true
zt.enable_adsense = true
zt.adsense_link = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=myclientid"
[extra.navbar]
items = [
{ code = "en", links = [
{ url = "/", name = "Home" },
{ url = "/categories", name = "Categories" },
{ url = "/tags", name = "Tags" },
] },
{ code = "fr", links = [
{ url = "/", name = "Accueil" },
{ url = "/categories", name = "Categories" },
{ url = "/tags", name = "Tags" },
] },
]
title = "title"
[extra.sidebar]
items = [
{ code = "en", links = [
{ url = "/markdown", name = "Markdown" },
{ url = "/blog", name = "Blog" },
] },
{ code = "fr", links = [
{ url = "/markdown", name = "Markdown" },
{ url = "/blog", name = "Blog" },
] },
]
# Index page
[extra.index]
title = "Main title"
image = "https://via.placeholder.com/200"
[extra.default_author]
name = "John Doe"
avatar = "https://via.placeholder.com/200"
[extra.social]
github = "https://github.com/johndoe"
gitlab = "https://gitlab.com/johndoe"
twitter = "https://twitter.com/johndoe"
linkedin = "https://www.linkedin.com/in/john-doe-b1234567/"
email = "john.doe@gmail.com"