blogo/README.md
README.mdRaw
1# Blogo [](https://goreportcard.com/report/github.com/arnaucube/blogo)
2Static blog generator, templating engine from markdown and html templates
3
4
5
6## Usage
7```
8Usage of blogo:
9 -d dev mode
10 -p port (only for dev mode) (default "8080")
11```
12
13So, for local usage:
14```
15blogo -d
16```
17Which will re-generate the html files each time that a input file is modified, and will serve the html generated site at `http://127.0.0.1:8080`.
18
19For a single use, you can simply use `blogo` command, which will generate the html files without serving them.
20
21A complete usage example can be found in this repo: https://github.com/arnaucube/blogoExample
22
23### Config example
24```json
25{
26 "title": "Blogo Blog",
27 "relativePath": "",
28 "absoluteUrl": "https://blog.website.com",
29 "indexTemplate": "index.html",
30 "postThumbTemplate": "postThumbTemplate.html",
31 "posts": [
32 {
33 "thumb": "article0_thumb.md",
34 "md": "article0.md",
35 "metaimg": "img/article0-img.png",
36 "metadescr": "description of the article 0"
37 }
38 ],
39 "copyRaw": [
40 "css",
41 "img",
42 "js"
43 ]
44}
45```
46
47
48---
49
50Blogo is used in https://arnaucube.com/blog