blow/theme.toml
Guillem Martinez Salvador 15d2f3bd8b Add alt text support to built in index image and author avatars.
Adds `image_alt` for index's `image` and `avatar_alt` for both the
default_author's `avatar` and any page's author `avatar`. For symmetry
with their "parent" picture, `index.image_alt` and
`default_author.avatar_alt` are defaulted and assumed to exist, while
`page.author.avatar_alt` is not assumed to exist, like its parent
`page.author.avatar_alt`.
2022-01-28 19:16:55 -05:00

97 lines
2.8 KiB
TOML

name = "Blow"
description = "A Zola theme made with Tailwindcss"
license = "MIT"
homepage = "https://github.com/tchartron/blow"
# The minimum version of Zola required
min_version = "0.9.0"
# An optional live demo URL
demo = "https://tchartron.com"
# 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]
enable_search = true
enable_sidebar = true
enable_adsense = true
enable_multilingue = true
adsense_link = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=myclientid"
[extra.lang]
items = [
{ 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" }
] }
]
[extra.navbar]
title = "title"
items = [
{ lang = "en", links = [
{ url = "/", name = "Home" },
{ url = "/categories", name = "Categories" },
{ url = "/tags", name = "Tags" }
] },
{ lang = "fr", links = [
{ url = "/fr", name = "Accueil" },
{ url = "/fr/categories", name = "Categories" },
{ url = "/fr/tags", name = "Tags" }
] }
]
[extra.sidebar]
items = [
{ lang = "en", links = [
{ url = "/markdown", name = "Markdown" },
{ url = "/blog", name = "Blog" }
] },
{ lang = "fr", links = [
{ url = "/fr/markdown", name = "Markdown" },
{ url = "/fr/blog", name = "Blog" }
] }
]
# Index page
[extra.index]
title = "Main title"
image = "https://via.placeholder.com/200"
image_alt = "Placeholder text describing the index's image."
[extra.default_author]
name = "John Doe"
avatar = "https://via.placeholder.com/200"
avatar_alt = "Placeholder text describing the default author's avatar."
[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"
[extra.favicon]
favicon = "/icons/favicon.ico"
favicon_16x16 = "/icons/favicon-16x16.png"
favicon_32x32 = "/icons/favicon-32x32.png"
apple_touch_icon = "/icons/apple-touch-icon.png"
android_chrome_512 = "/icons/android-chrome-512x512.png"
android_chrome_192 = "/icons/android-chrome-192x192.png"
manifest = "/icons/site.webmanifest"