You can easily do edits and preview changes on github. But if to want to preview your edits or do bigger changes, you need a local setup.
For that you first need to install git, Ruby and gem.
Then clone this repository by invoking the following in a terminal, presuming you know how to get there:
git clone https://github.com/okfde/demokratielabore.git
Install Ruby and gem. Then get the dependencies:
sh setup.sh
You can now build the site and serve it:
sh serve.sh
This command will give you a link where you can preview your changes in your browser.
-
Please use mobile friendly filesizes for images.
-
You can set a teaser for texts by defining it in the frontmatter:
excerpt: "<TEXT>"
. -
The teaser for an image can be set with
imgname-teaser: "<[RELATIVE] PATH TO IMAGE>"
.