mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 01:52:20 +00: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.
|