website-htmx-rustelo-code/site/config/site.ncl

40 lines
1.1 KiB
Text
Raw Normal View History

2026-07-10 03:44:13 +01:00
# Site metadata, paths, themes, and logo
#
# Consumed by build-config at compile time (UnifiedSiteConfig).
# Editing languages here is the only change needed to add a new language.
let site_c = import "site/contracts.ncl" in
{
site = {
name = "Website",
languages = ["en", "es"],
default_language = "en",
} | site_c.SiteMetadata,
paths = {
i18n = "site/i18n/locales",
content = "site/content",
themes = "site/config/themes",
assets = "site/public",
migrations = "rustelo/migrations",
email_templates = "site/templates/email",
work = "works-pv",
} | site_c.SitePaths,
themes = {
default = "default",
available = ["default", "dark", "corporate"],
} | site_c.ThemeConfig,
logo = {
light_src = "/images/logos/jesusperez-logo-b.png",
dark_src = "/images/logos/jesusperez-logo-w.png",
alt = "Jesús Pérez Lorenzo",
show_in_nav = true,
show_in_footer = true,
width = null,
height = null,
} | site_c.LogoConfig,
}