Home of rolandsdev.blog content.
Install Hugo:
brew install hugoNOTE For other platforms, see the installation guide.
These steps were only needed during the initial setup, so this section should be skipped.
- Init the site:
hugo new site --force .- Add a theme (DoIt):
git submodule add https://github.com/HEIGE-PCloud/DoIt.git themes/DoItTo serve content (w/ drafts) run:
hugo serve -D --disableFastRenderNOTE The --disableFastRender flag is recommended by the DoIt authors.
NOTE To clean the cache, run:
rm -rf $TMPDIR/hugo_cache/rolandsdev.blogTo add a post, run:
hugo new posts/my-post.mdTo build the static assets:
hugo -DDeployment is done via Netlify. To find out more, checkout the hugo integration.
NOTE The integration was done via the netlify UI. For DNS, the only change required was the DNS namesevers (changed to netlify's NS).