github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/testscripts/commands/hugo_configprod.txt (about)

     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/index.html --
    10  myparam: {{ site.Params.myparam }}§
    11  -- layouts/_default/single.html --
    12  Title: {{ .Title }}
    13  -- config/development/params.toml --
    14  myparam = "dev"
    15  -- content/p1.md --
    16  ---
    17  title: "P1"
    18  ---