aboutsummaryrefslogtreecommitdiffhomepage

blog

This repository contains the sources that make up my personal blog, which is currently hosted at blog.memzero.de.

The blog comes with an own layout and style and is generated with the static site generator zola.

I am by no means a web developer, so be warned about the html and css you find in here :^). But in general I like minimalism and monospace fonts.

The repository is organized as follows.

  • templates/ contains the layout
  • sass/ contains the style
  • content/ contains the blog content (posts + source code examples)

Once zola is installed, the website can be served for testing in the local network as shown below.

# Listen on local host (only the device running the command can visit the page).
zola serve --open

# Listen on any address and use the ip address of the device as base url. This
# allows to visit the page during testing from other devices in the same
# network as for example a mobile deive.
zola serve --open -i 0.0.0.0 -u <IP_OF_DEVICE>

NOTE: Serving with zola is only for testing, don't use zola to serve the page on the web. Use a proper http server for that.

development hints

Use the special template variable __tera_context to see the current full context in a template.