You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
arnaucube 0f57007879 Fix LaTeX zones protection when parsing to html 1 week ago
bin Fix LaTeX zones protection when parsing to html 1 week ago
.gitignore working 4 years ago
LICENSE Initial commit 4 years ago
README.md Add dev mode 3 weeks ago
blogo-diagram.png Add dev mode 3 weeks ago
blogo-large.png README.md update 3 years ago
blogo.png README.md update 3 years ago
compile.sh Add dev mode 3 weeks ago
errors.go blogo v01 4 years ago
files.go Add dev mode 3 weeks ago
go.mod Add dev mode 3 weeks ago
go.sum Add dev mode 3 weeks ago
main.go Fix LaTeX zones protection when parsing to html 1 week ago
readConfig.go Make output dir configurable 3 weeks ago

README.md

Blogo Go Report Card

Static blog generator, templating engine from markdown and html templates

blogo

Usage

Usage of blogo:
  -d dev mode
  -p port (only for dev mode) (default "8080")

So, for local usage:

blogo -d

Which 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.

For a single use, you can simply use blogo command, which will generate the html files without serving them.

A complete usage example can be found in this repo: https://github.com/arnaucube/blogoExample

Config example

{
    "title": "Blogo Blog",
    "relativePath": "",
    "absoluteUrl": "https://blog.website.com",
    "indexTemplate": "index.html",
    "postThumbTemplate": "postThumbTemplate.html",
    "posts": [
	{
	    "thumb": "article0_thumb.md",
	    "md": "article0.md",
	    "metaimg": "img/article0-img.png",
	    "metadescr": "description of the article 0"
	}
    ],
    "copyRaw": [
	"css",
	"img",
	"js"
    ]
}

Blogo is used in https://arnaucube.com/blog