summaryrefslogtreecommitdiffstats
path: root/testscripts/commands/hugo_configprod.txt
diff options
context:
space:
mode:
Diffstat (limited to 'testscripts/commands/hugo_configprod.txt')
-rw-r--r--testscripts/commands/hugo_configprod.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/testscripts/commands/hugo_configprod.txt b/testscripts/commands/hugo_configprod.txt
new file mode 100644
index 000000000..ac046b205
--- /dev/null
+++ b/testscripts/commands/hugo_configprod.txt
@@ -0,0 +1,18 @@
+# Test the hugo command.
+
+hugo
+grep 'myparam: §' public/index.html
+
+-- hugo.toml --
+baseURL = "http://example.org/"
+disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
+-- layouts/index.html --
+myparam: {{ site.Params.myparam }}§
+-- layouts/_default/single.html --
+Title: {{ .Title }}
+-- config/development/params.toml --
+myparam = "dev"
+-- content/p1.md --
+---
+title: "P1"
+---