friendenstein/config.toml

111 lines
3.6 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 = [
2024-01-02 02:31:44 +01:00
{name = "tags", feed = true},
2023-08-08 04:35:07 +02:00
]
[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
2024-01-02 02:31:44 +01:00
# default names. If you wish to use different names, see [extra.colors].
2023-12-22 00:42:32 +01:00
highlight_theme = "css"
highlight_themes_css = [
2024-01-02 02:31:44 +01:00
{ theme = "agola-dark", filename = "hl-dark.css" },
{ theme = "idle", filename = "hl-light.css" }
2023-12-22 00:42:32 +01:00
]
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
2023-07-04 02:37:44 +02:00
favicon = "favicon.ico"
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"
2024-01-02 02:31:44 +01:00
# Cursor logo, imported from hello-friend-ng
logo = { text = "> $ cd ~/zaaarf/" }
header_nav = [
2024-01-02 02:31:44 +01:00
{ 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
]
# Enable KaTeX for mathematical typesetting.
# Even if you enable it here, you still have to enable it on a per-page
# basis by setting setting extra.math to true.
enable_katex = false
2024-01-02 02:31:44 +01:00
# Homepage configuration stuff
[extra.home]
title = "you"
subtitle = "your subtitle"
subtitle_suffixes = [
2023-12-22 00:42:32 +01:00
", this",
2024-01-02 02:31:44 +01:00
", text",
", is",
", random!"
2023-12-22 00:42:32 +01:00
]
# Social icons, list here: https://github.com/rhazdon/hugo-theme-hello-friend-ng/blob/master/layouts/partials/svg.html
social_icons = [
{ name = "github", at = "https://github.com/zaaarf" },
{ name = "codeberg", at = "https://codeberg.org/zaaarf" },
{ name = "matrix", at = "https://matrix.to/#/@zaaarf:fantabos.co" },
{ name = "discord", at = "@zaaarf", link = false },
{ name = "email", at = "mailto:me@zaaarf.foo" }
2023-12-22 00:42:32 +01:00
]
# 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.
# May be configured on section and page level as well.
2023-12-22 00:42:32 +01:00
# Refer to https://docs.rs/chrono/0.4.31/chrono/format/strftime/index.html
# for formatting instructions.
[extra.date_format]
2024-01-02 02:31:44 +01:00
# Theme customisation settings. Valid keys:
# - hightlighting: sets a custom CSS file for syntax highlighting.
# - bgColor: used for the background.
# - fgColor: used for text.
# - metaColor: the "theme" color of the website, used for several things.
# - linkColor: used for links.
# - dateLinkColor: used for the date in the pagination, if enabled.
# - codeLineColor: used for the background of <code> blocks.
2023-12-22 00:42:32 +01:00
[extra.colors.dark]
meta_color = "#FF4D17"
[extra.colors.light]
2024-01-02 02:31:44 +01:00
meta_color = "#e08f67"