friendenstein/config.toml

97 lines
3.2 KiB
TOML
Raw Normal View History

2023-12-22 00:42:32 +01:00
## Zola stuff
## Customize these as you see fit, unless otherwise specified.
2023-07-04 03:17:22 +02:00
base_url = "https://anemone.pages.dev"
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-04 02:37:44 +02:00
compile_sass = false
generate_feed = true
2023-08-08 04:35:07 +02:00
default_language = "en"
2023-12-22 00:42:32 +01:00
# IMPORTANT! Keep this disabled: HTML minifying currently breaks our CSS!
# We use CSS in <style> blocks to allow configuring colors from here.
# Until https://github.com/getzola/zola/pull/2242 is merged, there likely
# won't be a cleaner way to achieve this.
minify_html = false
2023-08-08 04:35:07 +02:00
taxonomies = [
{name = "tags", feed = true},
]
[languages.fr]
weight = 2
languageName = "Français"
languageCode = "fr"
2022-11-21 22:15:50 +01:00
2023-07-04 02:37:44 +02:00
[markdown]
render_emoji = true
external_links_target_blank = true
smart_punctuation = true
2023-12-22 00:42:32 +01:00
highlight_code = true
# If you use CSS mode, make sure to add two themes - one for light mode,
# one for dark mode. In particular, hl-dark.css and hl-light.css are the
# default names. If you wish to use different names, set the properties
# highlighting_css_dark and highlighting_css_light under extra.
# TODO: move them under extra.colors.
highlight_theme = "css"
highlight_themes_css = [
{ theme = "agola-dark", filename = "hl-dark.css" },
{ theme = "idle", filename = "hl-light.css" }
]
2022-11-21 22:15:50 +01:00
2023-07-04 02:37:44 +02:00
[slugify]
paths = "on"
taxonomies = "on"
anchors = "on"
2022-11-21 22:15:50 +01:00
2023-07-04 02:37:44 +02:00
[link_checker]
internal_level = "warn"
[extra]
2023-12-22 00:42:32 +01:00
# Stuff inherited from anemone
# TODO: ensure they still work properly, or remove.
2023-07-04 02:37:44 +02:00
favicon = "favicon.ico"
list_pages = false
twitter_card = true
2023-12-22 00:42:32 +01:00
# Default theme when people join the site. "dark" and "light" are the
# only valid values. By default, it's dark.
default_theme = "dark"
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/" }
2023-12-22 00:42:32 +01:00
]
# Stuff inspired by hello-friend-ng, allows you to present a simple yet complete homepage
# TODO: move this stuff under a separate tag
home_title = "zaaarf"
home_subtitle = "developer, software engineer"
home_subtitle_suffixes = [
", this",
]
# Social icons, list here: https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/layouts/partials/svg.html
social_icons = [
{ name = "github", url = "https://github.com/zaaarf" },
{ name = "codeberg", url = "https://codeberg.org/zaaarf" },
{ name = "matrix", url = "https://matrix.to/#/@zaaarf:fantabos.co" },
{ name = "email", url = "mailto:me@zaaarf.foo" }
]
logo = { text = "> $ cd ~/zaaarf/" }
# Valid keys are "post" and "list", one referring to individual blogposts,
# the other referring to lists of posts in sections.
# You may set "list" to whitespace(s) to disable displaying dates in sections.
# Refer to https://docs.rs/chrono/0.4.31/chrono/format/strftime/index.html
# for formatting instructions.
[extra.date_format]
[extra.colors.dark]
meta_color = "#FF4D17"
[extra.colors.light]
meta_color = "#e08f67"