2013-07-06 19:36:30 -04:00
|
|
|
---
|
|
|
|
title: "Configuring Hugo"
|
|
|
|
pubdate: "2013-07-01"
|
2013-07-08 17:57:01 -04:00
|
|
|
---
|
2013-07-04 11:32:55 -04:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2013-07-06 22:31:43 -04:00
|
|
|
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/"
|
|
|
|
...
|
2013-07-04 11:32:55 -04:00
|
|
|
|