/
githubmirror
/
hugo
Обзор
Документация
Войти
/
githubmirror
/
hugo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
testscripts/commands/config.txt
22 строки
445 B
Joe Mooring
config: Preserve intentionally empty maps
26 май 2026, 12:50
26 май 2026, 12:50
80e6084
Код
Авторство
О чём код?
# Test the config command. hugo config -h stdout 'Display project configuration' hugo config stdout 'baseurl = .https://example.com/' stdout '\[contenttypes\.' hugo config --format json 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 Project"