You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2021. It is now read-only.
Malcolm Bouzi edited this page Feb 6, 2020
·
4 revisions
Hugo provides its own webserver which builds and server the site. By default, hugo will also watch your files for any changes you make and automatically rebuild the site. It will then live reload any open browser page and push the latest content to them. To start the server run in root:
hugo server -D
Creating a new page
a new variable must be added under “permalinks” in “config/_default/config.toml”
new folders with the same variable name must be created in the “content”, “layout” and “partial” folders
in the newly created layouts folder, a “single.html” file must be created
html file segments of the page will be created in the partial folder and pull into single.html
markdown for page is put into contents folder
content folder must be created with a unique filename even if there is no intention to use markdown, or page will cause an error**