Commit graph

13 commits

Author SHA1 Message Date
Facundo Olano
20150cf7a3
Add post command (#9)
* rename command to post

* initial jorge post implementation

* fixes

* update comment

* move funs around

* move default front matter to constants

* more docs

* tweak defaults line breaks
2024-02-21 12:56:22 -03:00
Facundo Olano
b3e6c0de8d
rename project to jorge (#4) 2024-02-16 15:29:43 -03:00
facundoolano
663463202c add minifier 2024-02-16 15:14:30 -03:00
Facundo Olano
a4279aae0d
Introduce config mod and struct (#2)
* outline config mod and struct

* replace site interfaces

* load config from config.yml

* adapt commands to load and pass config

* fix test

* fix tests

* use symlinks for static assets

* implement absolute url filter

* doc comment

* fix tests

* remove outdated TODO comments

* Add go build actions workflow (#3)

* Add go build actions workflow

* set go to 1.22
2024-02-16 12:39:19 -03:00
facundoolano
2a5e4450b1 preserve order in group by filter 2024-02-15 21:54:24 -03:00
facundoolano
b788826423 port liquid filters from gojekyll 2024-02-15 13:53:45 -03:00
Facundo Olano
e5917dc21e
build command refactors (#1)
* extract buildTarget function

* first stab at build target rendering refactor

* more cleanup

* properly separate parse and render stages of liquid templates

* move some more rendering from commands to site

* move org rendering again, to fix bug

* revert more unsatisfactory changes

* move build to site

* markdown support

* remove comments

* fix tests

* markdown test

* cleanup scanner bytes usage

* reuse the template engine
2024-02-14 23:54:46 -03:00
facundoolano
b181e3d855 implement blorg serve command
Squashed commit of the following:

commit 5e3c3f35c73f884bbf89f5daabcdc2aec5e0af75
Author: facundoolano <facundo.olano@gmail.com>
Date:   Wed Feb 14 11:24:45 2024 -0300

    cleanup

commit e8881df9f27fc37c46120c946dfad107d551ef67
Author: facundoolano <facundo.olano@gmail.com>
Date:   Wed Feb 14 11:21:54 2024 -0300

    add basic src watching

commit 4e61add89c632b0cc7a740d15be671de3df12157
Author: facundoolano <facundo.olano@gmail.com>
Date:   Wed Feb 14 00:19:25 2024 -0300

    move serve command to a separate file

commit abc2100582b71179e0eade154d2af3e86b48574f
Author: facundoolano <facundo.olano@gmail.com>
Date:   Wed Feb 14 00:17:05 2024 -0300

    first stab at serve command
2024-02-14 13:16:41 -03:00
facundoolano
97b6bc5111 extract site to its own mod 2024-02-12 15:59:18 -03:00
facundoolano
c4486f5a07 add liquid template support 2024-02-11 13:34:45 -03:00
facundoolano
465bc6536d convert .org to html output 2024-02-09 18:02:59 -03:00
facundoolano
f002c2e66b first stab at parsing front matter from input files 2024-02-09 16:41:08 -03:00
facundoolano
16cbf1d10e main with subcommand outline 2024-02-09 12:11:54 -03:00