brew install git hugo sbt
Clone the git repository, including the submodule for the blog theme.
git clone --recurse-submodules email@example.com:vlovgr/blog.git
Creating a blog post
Posts go into the
posts directory. See existing blog posts for examples.
Start tut in watch mode, compiling posts as you change and save them:
and start Hugo in watch mode, to automatically build and reload the site on changes.
cd hugo hugo serve
If your post is marked as a draft, instead use
hugo serve -D to include draft posts.
Before publishing, you might want to generate and preview the site.
To generate the site and publish it to GitHub Pages, use the following.
You need write permissions to the respository in order to be able to publish.