summaryrefslogtreecommitdiffstats
path: root/testscripts/commands/config.txt
blob: 7f8fc49749533358fccc3e8d8ffd100c86159213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Test the config command.

hugo config -h
stdout 'Print the site configuration'


hugo config
stdout '\"baseurl\": \"https://example.com/\",'

hugo config mounts -h
stdout 'Print the configured file mounts'

hugo config mounts
stdout '\"source\": \"content\",'

# Test files
-- hugo.toml --
baseURL="https://example.com/"
title="My New Hugo Site"