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