example genny spec

genny sites are defined by a directory with content in one of several lightweight markup languages, any necessary static assets, alongside a simple site and build specification called genny.kdl. here’s an example:

genny {
    url example.com
    title "My page!"
    footer "Made with ♡"
    nav {
        // href will be normalized to "/home"
        Home
        "Blog Posts" /blog
    }

    src content
    dst dist
}

you can find a more precise description of the genny.kdl format in the kdl-schema definition here.