To build and preview the site locally use the server bundled with Hugo:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$ cd /path/to/hugo/project
$ hugo server --disableFastRender
Start building sites …
| EN | DE
-------------------+-----+------
Pages | 49 | 24
Paginator pages | 0 | 0
Non-page files | 0 | 0
Static files | 124 | 124
Processed images | 0 | 0
Aliases | 15 | 7
Sitemaps | 2 | 1
Cleaned | 0 | 0
Built in 943 ms
Watching for changes in /path/to/hugo/project/{content,layouts,static,themes}
Watching for config changes in path/to/hugo/project/config/_default
Environment: "development"
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
|
As the output suggests preview the rendered site in your browser under http://localhost:1313/.