Commit graph

33 commits

Author SHA1 Message Date
Facundo Olano
2e5403d07f
Add a jorge meta command to get site metadata in scripts (#49)
Some checks failed
Test project / build (push) Has been cancelled
* add a jorge meta command

* add a basic metadata eval test

* fix staticcheck
2024-09-16 20:16:30 -03:00
facundo
ab3bc633d2 v0.8.0
Some checks failed
Test project / build (push) Has been cancelled
2024-09-12 13:00:25 -03:00
facundo
9f5208c737 v0.7.0
Some checks failed
Test project / build (push) Has been cancelled
2024-07-08 18:48:04 -03:00
facundo
0f8bf76179 v0.6.5 2024-06-10 16:37:45 -03:00
facundoolano
fdec423187 v0.6.4 2024-04-02 10:39:13 -03:00
facundoolano
786c41ea86 v0.6.3 2024-03-28 21:17:39 -03:00
facundoolano
3ec74a5a57 v0.6.2 2024-03-19 14:53:04 -03:00
facundoolano
c2c981c156 v0.6.1 2024-03-15 17:56:33 -03:00
facundoolano
5c45c2450b v0.6.0 2024-03-14 12:25:02 -03:00
facundoolano
23b6bc4cce v0.5.1 2024-03-13 16:18:26 -03:00
facundoolano
9f4c7e14f3 v0.5.0 2024-03-13 15:38:17 -03:00
facundoolano
81aa742c57 v0.4.1 2024-03-07 12:50:24 -03:00
facundoolano
e1926bd744 v0.4.0 2024-03-06 11:59:35 -03:00
facundoolano
c678ebd347 v0.3.0 2024-03-02 16:18:11 -03:00
Facundo Olano
adb17ad9d2
run linter in github actions (#20)
* run linter in github actions

* try fixing go mod

* no install go

* again

* maybe this?

* separate install

* no v

* fix lint errors
2024-02-29 19:34:33 -03:00
facundoolano
8f628b57d5 v0.2.1 2024-02-29 13:39:35 -03:00
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