hugo/testscripts/commands/server__watch_hugo_stats.txt
2023-07-19 19:54:36 +02:00

18 lines
337 B
Text

hugo server &
waitServer
stopServer
! stderr .
exists hugo_stats.json
-- hugo.toml --
title = "Hugo Server Test"
baseURL = "https://example.org/"
disableKinds = ["taxonomy", "term", "sitemap"]
[module]
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
-- layouts/index.html --
<body>Home</body>