From f9e6d211b126c00cc3d4f1bfc86c4f579fda1b63 Mon Sep 17 00:00:00 2001 From: facundoolano Date: Tue, 13 Feb 2024 14:58:07 -0300 Subject: [PATCH] stub expected interface in README --- README.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cdf484..af9408d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,59 @@ # blorg -A presonal static site generator with org-mode support +A presonal (small + opinionated) site generator with org-mode support. + +Install from binary: + + $ wget https://github.com/facundoolano/blorg/releases/download/latest/blorg-$(uname -m) \ + -o blorg && chmod +x blorg + +Or install with go: + + $ go install github.com/facundoolano/blorg + + +Usage: + +```shell +$ blorg init myblog + site name: My Blog + author: Facundo + + added myblog/README.md + added myblog/.gitignore + added myblog/config.yml + added myblog/layouts/base.html + added myblog/layouts/post.html + added myblog/src/index.html + added myblog/assets/css/main.css + added myblog/src/blog/hello.org + added myblog/src/feed.xml + added myblog/src/tags.html +$ cd myblog +$ blorg post "My First Post" + added src/blog/my-first-post.org +$ blorg serve & + server running at http://localhost:4001/ +$ cat >> src/blog/test.org <