mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
19 lines
594 B
Markdown
19 lines
594 B
Markdown
{
|
|
"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/"
|
|
}
|