Debian Codegraph @

testscripts/commands/hugo_configprod.txt

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