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

     1  # Test the config command.
     2  
     3  hugo config -h
     4  stdout 'Print the site configuration'
     5  
     6  
     7  hugo config
     8  stdout 'baseurl = .https://example.com/'
     9  hugo config --format json
    10  stdout '\"baseurl\": \"https://example.com/\",'
    11  
    12  hugo config mounts -h
    13  stdout 'Print the configured file mounts'
    14  
    15  hugo config mounts
    16  stdout '\"source\": \"content\",'
    17  
    18  # Test files
    19  -- hugo.toml --
    20  baseURL="https://example.com/"
    21  title="My New Hugo Site"