Skip to content

Configuration

Gozzi uses TOML files for configuration, offering a clean and readable format for site settings.

Configuration Guide

Site Configuration

Content Configuration

Advanced Topics

Quick Example

toml
# config.toml - Minimal blog configuration
base_url = "https://myblog.com"
title = "My Blog"
description = "Thoughts and tutorials"
language = "en"

[extra]
name = "Author Name"
bio = "Writer and developer"

Configuration Files

The main configuration file is config.toml by default, but you can specify alternatives:

sh
# Use default config.toml
gozzi build

# Use custom config file
gozzi serve --config config.dev.toml
gozzi build --config config.prod.toml

Start with: Site Settings to configure your basic site information.

Released under the MIT License.