mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 17:40:55 -05:00
20 lines
321 B
Text
20 lines
321 B
Text
|
hugo server --renderToDisk --disableLiveReload &
|
||
|
|
||
|
waitServer
|
||
|
|
||
|
! grep 'livereload' public/index.html
|
||
|
|
||
|
stopServer
|
||
|
! stderr .
|
||
|
|
||
|
-- hugo.toml --
|
||
|
baseURL = "http://example.org/"
|
||
|
disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
|
||
|
-- layouts/index.html --
|
||
|
<html>
|
||
|
<head>
|
||
|
</head>
|
||
|
<body>
|
||
|
Home.
|
||
|
</body>
|
||
|
</html>
|