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

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