This is hugo repository for saz.jp. Generated content (published on the blog) can be found in /docs
folder.
-
Testing locally
hugo server
-
Testing locally with posts with future date
hugo server --buildFuture
-
Testing locally with drafts
hugo server --buildDrafts
-
Then go to
http://localhost:1313/
-
Generate
docs/
and commitrm -rf docs/ && hugo -d docs/ && echo -n "saz.jp" > docs/CNAME && git add docs/ && git commit -m "generate docs"
-
Add a new post
hugo new posts/my-new-blog-post.md
-
Add a new page
hugo new my-new-page.md
-
Install hugo
snap install hugo
-
Verify hugo version
hugo version