blob: bd84a1449f03bd50f521c7bdbff57281a9ff2ef9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
hugo server --renderToMemory --disableLiveReload &
waitServer
stopServer
wait
! stderr .
stdout 'Watching for config changes in.*mytheme'
-- hugo.toml --
title = "Hugo Server Test"
baseURL = "https://example.org/"
disableKinds = ["section", "page", "taxonomy", "term", "RSS", "sitemap", "robotsTXT", "404"]
theme = "mytheme"
-- layouts/index.html --
foo: {{ .Site.Params.foo }}
-- themes/mytheme/hugo.toml --
[params]
foo = "bar"
|