Commit graph

17 commits

Author SHA1 Message Date
facundoolano
d92272729e v0.2.0 2024-02-28 11:12:38 -03:00
facundoolano
54043ccd57 update version 2024-02-28 10:27:50 -03:00
facundoolano
cb20f53ee3 update version 2024-02-27 12:43:01 -03:00
Facundo Olano
b3594be86c
Refactor CLI using kong (#13)
* use kong for cli parsing

* fix kong usage

* remove conditional

* don't blow up serve if src dir is missing

* load config in main side (boilerplaty)

* fix weird names

* add versions and aliases

* fix version printing

* replace command switch with Run methods

* move subcommand structs to commands package

* distribute commands into files

* add usage to docs

* add flags to configure server
2024-02-24 12:39:45 -03:00
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
56a92695f5
Init command and default assets (#5)
* cleanup command arguments

* add base init files

* implement init command

* add some layouts

* add index

* add blog index

* post preview

* honor config in file server

* sample post

* sample markdown

* add css style to initfiles

* more style tweaks

* more style tweaks
2024-02-17 17:09:19 -03:00
Facundo Olano
b3e6c0de8d
rename project to jorge (#4) 2024-02-16 15:29:43 -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
513befe8b8 support passing a different root dir 2024-02-15 12:38:51 -03:00
facundoolano
73bbaa2c50 Add a templates package and struct
Squashed commit of the following:

commit 7c5b6bf95b14e402b68b141a7d60ccb1468f12b3
Author: facundoolano <facundo.olano@gmail.com>
Date:   Sun Feb 11 13:15:08 2024 -0300

    restore other tests

commit 5cf5c43856fc1a9e8f23dc74b81607ab7387f4c3
Author: facundoolano <facundo.olano@gmail.com>
Date:   Sat Feb 10 23:13:31 2024 -0300

    restore a test

commit acca0936a42b8b915c25f96c6b435887d7235c23
Author: facundoolano <facundo.olano@gmail.com>
Date:   Sat Feb 10 22:52:41 2024 -0300

    fix a bunch of bugs

commit 6f8074402338194ebebaaf929a1d85fdbf0d5e22
Author: facundoolano <facundo.olano@gmail.com>
Date:   Sat Feb 10 22:00:43 2024 -0300

    implement methods

commit 5cfeb1ea8600317d8849c6dca63a009237e033af
Author: facundoolano <facundo.olano@gmail.com>
Date:   Sat Feb 10 20:16:10 2024 -0300

    add template package and struct

commit 7a7b79e006ff6629cbf9445927e84e9c1600667b
Author: facundoolano <facundo.olano@gmail.com>
Date:   Sat Feb 10 20:08:43 2024 -0300

    stub template interface
2024-02-11 13:16:10 -03:00
facundoolano
afc5cf4912 extract commands to another package 2024-02-10 11:37:38 -03:00
facundoolano
3ea5864906 convert .org extension to .html 2024-02-09 18:09:42 -03:00
facundoolano
465bc6536d convert .org to html output 2024-02-09 18:02:59 -03:00
facundoolano
bbf7ee41bc fix line breaks 2024-02-09 16:55:36 -03:00
facundoolano
f002c2e66b first stab at parsing front matter from input files 2024-02-09 16:41:08 -03:00
facundoolano
971aed3e00 initial blorg build implementation 2024-02-09 13:50:52 -03:00
facundoolano
16cbf1d10e main with subcommand outline 2024-02-09 12:11:54 -03:00