This README is work in progress...
git submodule update --init
See documentation at gohugo.io.
winget install Hugo.Hugo.Extended
run a server showing drafts as well.
hugo server --buildDrafts
run a server showing the production site:
hugo server
create deployment version of the website:
hugo
create a minified version of the website:
hugo --gc --minify
configuration of rclone
rclone config
deployment with rclone
rclone sync --interactive public/ <name_of_remote>:<folder_on_remote_server>
- Create or install a theme:
- Create a new theme with the command "hugo new theme THEMENAME"
- Or, install a theme from themes.gohugo.io
- Edit hugo.toml, setting the "theme" property to the theme name.
- Create new content with the command "hugo new content SECTION/FILENAME.FORMAT".
- Start the embedded web server with the command "hugo server --buildDrafts".