mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 16:52:10 -05:00
3f00f47535
To allow publishDir to be set in config file.
12 lines
244 B
Text
12 lines
244 B
Text
# Test the hugo command.
|
|
|
|
hugo
|
|
|
|
grep 'Home' newpublic/index.html
|
|
|
|
-- hugo.toml --
|
|
baseURL = "http://example.org/"
|
|
disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
|
|
publishDir = "newpublic"
|
|
-- layouts/index.html --
|
|
Home.
|