shithub: hugo

ref: a7f5f97bc2c8941cbe9ade740e3c0e54202d8613
dir: /docs/content/doc/configuration.md/

View raw version
---
title: "Configuring Hugo"
pubdate: "2013-07-01"
...

The directory structure and templates provide the majority of the
configuration for a site. In fact a config file isn't even needed for many websites
since the defaults used follow commonly used patterns.

The following is an example of a config file with the default values

    {
        "SourceDir" : "content",
        "LayoutDir" : "layouts",
        "PublishDir" : "public",
        "BuildDrafts" : false,
        "Tags" : { "category" : "categories", "tag" : "tags" },
        "BaseUrl"    : "http://yourSite.com/"
    }