github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/testscripts/commands/hugo.txt (about) 1 # Test the hugo command. 2 3 hugo 4 stdout 'Pages.*|1' 5 stdout 'Total in' 6 checkfile public/index.html 7 checkfile public/p1/index.html 8 grep 'IsServer: false;IsProduction: true' public/index.html 9 10 -- hugo.toml -- 11 baseURL = "http://example.org/" 12 disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"] 13 -- layouts/index.html -- 14 Home|IsServer: {{ .Site.IsServer }};IsProduction: {{ hugo.IsProduction }}| 15 -- layouts/_default/single.html -- 16 Title: {{ .Title }} 17 -- content/p1.md -- 18 --- 19 title: "P1" 20 ---