Configuration
All parameters go in params section of your site configuration. Shiloh uses a modular configuration structure in config/_default/.
Configuration Files # File Purpose hugo.toml Core Hugo settings (outputs, pagination, privacy) params.toml Theme parameters (all options below) languages.en.toml Language and site title settings menus.en.toml Navigation menus markup.toml Markdown rendering and code highlighting module.toml Hugo module configuration Appearance # Parameter Type Default Description colorScheme string "shiloh" daisyUI theme name font string "code" Font family: "code" (Fira Code) or "prose" (Fraunces + Lora) defaultAppearance string "light" Initial theme: "light" or "dark" autoSwitchAppearance boolean true Respect system preference defaultThemeColor string "#ffffff" Browser chrome color Theme Colors # Shiloh includes two custom daisyUI themes defined in assets/css/main.css:
5 min read