No description
  • Go 97.5%
  • Shell 2.5%
Find a file
2026-07-31 21:57:45 +02:00
.gitignore rm bin/ to move it to releases 2022-12-23 10:23:40 +01:00
blogo-diagram.png Add dev mode 2022-05-01 20:02:32 +02:00
blogo-large.png README.md update 2018-10-04 19:26:42 +02:00
blogo.png README.md update 2018-10-04 19:26:42 +02:00
compile.sh Add dev mode 2022-05-01 20:02:32 +02:00
errors.go blogo v01 2017-12-23 14:34:39 +01:00
files.go Add dev mode 2022-05-01 20:02:32 +02:00
go.mod Add dev mode 2022-05-01 20:02:32 +02:00
go.sum Add dev mode 2022-05-01 20:02:32 +02:00
LICENSE Initial commit 2017-12-23 14:09:42 +01:00
main.go add RSS generation 2026-07-31 21:57:45 +02:00
readConfig.go add RSS generation 2026-07-31 21:57:45 +02:00
README.md add RSS generation 2026-07-31 21:57:45 +02:00
rss.go add RSS generation 2026-07-31 21:57:45 +02:00
rss_test.go add RSS generation 2026-07-31 21:57:45 +02:00

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.

Each build also generates an RSS 2.0 feed at rss.xml and adds an RSS auto-discovery link to generated HTML pages. Posts may include an optional date in RFC 3339 or YYYY-MM-DD format. Posts without a date remain in the feed without a pubDate.

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",
	    "date": "2022-11-24"
	}
    ],
    "copyRaw": [
	"css",
	"img",
	"js"
    ]
}

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