some notes using hugo
when you want to test the site:
hugo server -vwDs ~/palmonaz -d dev
- v : verbose
- w : watch
- D : include content marked as draft
- s : filesystem path to read files relative from
- d : destination
in this way you write to a different dir and when you are sure you can do
hugo -s ~/palmonaz
in order to compile your site in the public directory.
New post:
hugo new blog/title-of-the-post.md
New fixed:
hugo new fixed/title-for-the-fixed-page.md
usefull things
hugo as http server:
hugo server –baseURL=http://yoursite.org/ \
–port=80 \
–appendPort=false \
–bind=0.0.0.0
try a new hugo theme:
hugo server -t theme-name