chore(fmt): add treefmt and run it

This commit is contained in:
Timothy DeHerrera
2026-01-24 18:49:51 -07:00
parent f4201e95ba
commit 8df37127a1
18 changed files with 290 additions and 267 deletions

View File

@@ -1,9 +1,9 @@
theme = "apollo"
taxonomies = [{ name = "tags" }]
title = "nrdxp"
description = "nrdxp's personal site & blog"
description = "nrdxp's personal site & blog"
generate_feeds = true
minify_html = true
minify_html = true
taxonomies = [{ name = "tags" }]
theme = "apollo"
title = "nrdxp"
# The URL the site will be built for
base_url = "https://nrd.sh/"
@@ -17,11 +17,20 @@ build_search_index = false
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_code = true
highlight_theme = "ayu-light"
[extra]
theme = "toggle"
favicon = "/icon/favicon.png"
menu = [
{ name = "/blog", url = "/blog", weight = 1 },
{ name = "/projects", url = "/projects", weight = 2 },
{ name = "/collab", url = "/collab", weight = 3 },
{ name = "/about", url = "/about", weight = 4 },
{ name = "/tags", url = "/tags", weight = 5 },
]
repo_url = "https://github.com/nrdxp/nrd.sh/tree/main/content/"
repo_view = true
socials = [
{ name = "rss", url = "/atom.xml", icon = "rss" },
{ name = "github", url = "https://github.com/nrdxp", icon = "github" },
@@ -30,21 +39,8 @@ socials = [
{ name = "matrix", url = "https://matrix.to/#/@timdeh:matrix.org", icon = "matrix" },
{ name = "email", url = "mailto:tim@nrd.sh", icon = "email" },
]
menu = [
{ name = "/blog", url = "/blog", weight = 1 },
{ name = "/projects", url = "/projects", weight = 2 },
{ name = "/collab", url = "/collab", weight = 3 },
{ name = "/about", url = "/about", weight = 4 },
{ name = "/tags", url = "/tags", weight = 5 },
]
repo_view = true
repo_url = "https://github.com/nrdxp/nrd.sh/tree/main/content/"
favicon = "/icon/favicon.png"
stylesheets = [
"fira.css",
"colors.css",
"custom.css"
]
stylesheets = ["fira.css", "colors.css", "custom.css"]
theme = "toggle"
[extra.analytics]
enabled = true

View File

@@ -1,6 +1,6 @@
[build]
publish = "public"
command = "zola build"
publish = "public"
[build.environment]
ZOLA_VERSION = "0.19.2"