Debian Codegraph @

testscripts/commands/hugo_configdev_env.txt

raw
1 # Test the hugo command.
2 env HUGO_ENV=development
3
4 hugo
5 grep 'myparam: dev§' public/index.html
6
7 -- hugo.toml --
8 baseURL = "http://example.org/"
9 disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
10 -- layouts/home.html --
11 myparam: {{ site.Params.myparam }}§
12 -- layouts/single.html --
13 Title: {{ .Title }}
14 -- config/development/params.toml --
15 myparam = "dev"
16 -- content/p1.md --
17 ---
18 title: "P1"
19 ---