Source code for static blog zwischen-ost-und-west.de
Clone Repository locally with the recursive flag --recursive
to clone the repository including its submodules.
In case you already ran git without --recursive
, you can alternatively run git submodule update --init --recursive
additionally when inside the repository's root folder (see also Sample Configuration Method 2).
Make sure you have installed the latest Hugo version (>=0.128.0
). In case apt install hugo
only installs and old version, download the latest binary for your OS from Hugo's Github repository (on WSL, use the _Linux-64bit.deb
variant) and install it (on WSL, do apt install ./hugo_x.y.z_Linux-64bit.deb
).
Run hugo version
to verify your installed version.
cd into site directory, then run hugo serve --disableFastRender --buildDrafts
Run hugo new posts/<postname>.md
to create a new post based on the posts-template specified in archetypes/posts.md
.
Edit config.yml
and set buildDrafts
to true
or add the flag --buildDrafts
when serving locally.