mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
commands: Fail the build when no config file or config dir
Fixes #11019
This commit is contained in:
@@ -11,6 +11,8 @@ grep '<body>Home' newpublic/index.html
|
||||
hugo --quiet
|
||||
! stdout .
|
||||
|
||||
-- hugo.toml --
|
||||
title = "Hugo Test"
|
||||
-- myconfig.toml --
|
||||
baseURL = "http://example.org/"
|
||||
disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
|
||||
|
Reference in New Issue
Block a user