blow/theme.toml

90 lines
2.4 KiB
TOML
Raw Normal View History

2021-11-03 19:52:53 +00:00
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"
2021-11-04 21:45:53 +00:00
# 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
2021-11-12 19:15:16 +00:00
zt.enable_sidebar = true
2021-11-11 15:00:25 +00:00
zt.enable_adsense = true
2021-11-13 21:57:22 +00:00
zt.enable_multilingue = true
2021-11-11 15:00:25 +00:00
zt.adsense_link = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=myclientid"
2021-11-04 21:45:53 +00:00
2021-11-14 12:44:27 +00:00
[extra.lang]
items = [
2021-11-14 13:16:12 +00:00
{ lang = "en", links = [
{ base_url = "/", name = "English" },
{ base_url = "/fr", name = "French" },
] },
{ lang = "fr", links = [
{ base_url = "/", name = "Anglais" },
{ base_url = "/fr", name = "Français" },
] },
2021-11-14 12:44:27 +00:00
]
2021-11-11 17:54:31 +00:00
[extra.navbar]
items = [
2021-11-13 21:57:22 +00:00
{ lang = "en", links = [
2021-11-11 17:54:31 +00:00
{ url = "/", name = "Home" },
{ url = "/categories", name = "Categories" },
{ url = "/tags", name = "Tags" },
2021-11-04 21:45:53 +00:00
] },
2021-11-13 21:57:22 +00:00
{ lang = "fr", links = [
2021-11-14 11:19:18 +00:00
{ url = "/fr", name = "Accueil" },
2021-11-13 21:57:22 +00:00
{ url = "/fr/categories", name = "Categories" },
{ url = "/fr/tags", name = "Tags" },
2021-11-04 21:45:53 +00:00
] },
]
2021-11-11 17:54:31 +00:00
title = "title"
2021-11-06 17:26:24 +00:00
2021-11-12 19:15:16 +00:00
[extra.sidebar]
items = [
2021-11-13 21:57:22 +00:00
{ lang = "en", links = [
2021-11-12 19:15:16 +00:00
{ url = "/markdown", name = "Markdown" },
{ url = "/blog", name = "Blog" },
] },
2021-11-13 21:57:22 +00:00
{ lang = "fr", links = [
{ url = "/fr/markdown", name = "Markdown" },
{ url = "/fr/blog", name = "Blog" },
2021-11-12 19:15:16 +00:00
] },
]
2021-11-06 17:26:24 +00:00
# Index page
[extra.index]
title = "Main title"
image = "https://via.placeholder.com/200"
2021-11-09 19:00:52 +00:00
2021-11-14 13:39:06 +00:00
[extra.404]
image = "https://via.placeholder.com/200"
2021-11-09 19:00:52 +00:00
[extra.default_author]
name = "John Doe"
avatar = "https://via.placeholder.com/200"
2021-11-11 15:10:57 +00:00
[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"