mirror of
https://github.com/facundoolano/jorge.git
synced 2025-01-15 15:41:12 +01:00
stub expected interface in README
This commit is contained in:
parent
526e3c3e5a
commit
f9e6d211b1
1 changed files with 58 additions and 1 deletions
59
README.md
59
README.md
|
@ -1,2 +1,59 @@
|
||||||
# blorg
|
# 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 <<EOF
|
||||||
|
# Hello world!
|
||||||
|
|
||||||
|
this is my *first* post.
|
||||||
|
EOF
|
||||||
|
$ open http://localhost:4001/blog/my-first-post
|
||||||
|
$ blorg pub
|
||||||
|
drafts:
|
||||||
|
1. blog/my-first-post.org
|
||||||
|
choose file to publish: 1
|
||||||
|
$ blorg build
|
||||||
|
added target/index.html
|
||||||
|
added target/assets/css/main.css
|
||||||
|
added target/blog/hello.html
|
||||||
|
added target/blog/my-first-post.html
|
||||||
|
added target/feed.xml
|
||||||
|
added target/tags.html
|
||||||
|
```
|
||||||
|
|
||||||
|
For more details see the:
|
||||||
|
|
||||||
|
- [Tutorial](https://blorg.olano.dev#tutorial)
|
||||||
|
- [Docs](https://blorg.olano.dev#docs)
|
||||||
|
- [Development blog](https://blorg.olano.dev#blog)
|
||||||
|
|
Loading…
Reference in a new issue