From 85b13c105a202baf80796a5eab144d3f74a4cc42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 22 May 2023 19:00:07 +0200 Subject: Add --format to hugo config Now default to TOML. --- testscripts/commands/config.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testscripts') diff --git a/testscripts/commands/config.txt b/testscripts/commands/config.txt index 7f8fc4974..b1dba8d11 100644 --- a/testscripts/commands/config.txt +++ b/testscripts/commands/config.txt @@ -5,6 +5,8 @@ stdout 'Print the site configuration' hugo config +stdout 'baseurl = .https://example.com/' +hugo config --format json stdout '\"baseurl\": \"https://example.com/\",' hugo config mounts -h -- cgit v1.2.3