blob: 94afe61a33edcb98cdbe1793d7a6aa186044221c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Simple static blog (generator code and content)
## Install
```
$ python3 -m venv .env
$ source .env/bin/activate
$ pip3 install -r requirements.txt
```
## Make a post
```
$ mkdir posts/hello-world
$ echo 'Title: Hello, World!' > posts/hello-world/metadata.txt
$ echo "Date: `date +"%Y-%m-%dT%H:%M:%S%z"`" >> posts/hello-world/metadata.txt
$ echo 'Hello, world!' > posts/hello-world/hello-world.md
$ make deploy
```
## Demo
Visit [blog.ilvokhin.com][1] to see the working demo.
[1]: https://blog.ilvokhin.com
|