mirror of
https://github.com/facundoolano/jorge.git
synced 2024-12-26 21:58:51 +01:00
88efad43db
Squashed commit of the following: commit c45734422ef038438a0b6eb4c3065df9cbebcc5e Author: facundoolano <facundo.olano@gmail.com> Date: Tue Feb 13 21:27:47 2024 -0300 tags test passing commit 88294405603b2103f9f8cba3b130ad2d40e58a36 Author: facundoolano <facundo.olano@gmail.com> Date: Tue Feb 13 21:12:08 2024 -0300 ensure posts are sorted by date commit df7c945fcc1490613b6068da3fc487b9ffa44ba5 Author: facundoolano <facundo.olano@gmail.com> Date: Tue Feb 13 20:55:51 2024 -0300 prepare to test tags commit 3d7c3f380c3933d6cd9f949d3d2cf9ef144bd6ae Author: facundoolano <facundo.olano@gmail.com> Date: Tue Feb 13 20:51:08 2024 -0300 preload context in site fields commit a3afaacc67a9d748cfd42ecbeb7b2d302c3560b2 Author: facundoolano <facundo.olano@gmail.com> Date: Tue Feb 13 20:39:42 2024 -0300 test passing pending refactor commit 13de5017f654c8d82b1ba7beb01066a9c22f19fc Author: facundoolano <facundo.olano@gmail.com> Date: Tue Feb 13 20:18:07 2024 -0300 add (failing) archive test |
||
---|---|---|
commands | ||
site | ||
templates | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
blorg
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:
$ 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: