2021-09-27 21:47:10 +02:00
|
|
|
zero-blog
|
|
|
|
=========
|
|
|
|
|
|
|
|
This is the small blog engine to render and serve the blog zero-knowledge.org.
|
|
|
|
Templates can be changed in `templates` and new posts can be created in `files/content/post`.
|
|
|
|
|
|
|
|
build
|
|
|
|
-----
|
|
|
|
|
|
|
|
To build this project a simple
|
|
|
|
|
|
|
|
```
|
2022-08-29 20:46:28 +02:00
|
|
|
make
|
2021-09-27 21:47:10 +02:00
|
|
|
```
|
|
|
|
|
2022-08-29 20:46:28 +02:00
|
|
|
will suffice. It will automatically render all files into an output directory.
|
2021-09-27 21:47:10 +02:00
|
|
|
|
|
|
|
add new content
|
|
|
|
---------------
|
|
|
|
|
|
|
|
To add new content, place a new markdown file in `files/content`.
|
|
|
|
|
|
|
|
Add a Header to the file in the following format:
|
|
|
|
|
|
|
|
```
|
|
|
|
+++
|
|
|
|
title = "new title"
|
|
|
|
time = "2021-01-02T15:16:17"
|
|
|
|
author = "Gibheer"
|
|
|
|
published = true
|
|
|
|
template = "default.html"
|
|
|
|
+++
|
|
|
|
```
|
|
|
|
|
|
|
|
Template is using `default.html` by default. If you need to use a different one, then
|
|
|
|
set that variable.
|