Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | blogc: renderer: add `FOREACH_VALUE` variable | Rafael G. Martins | 2023-02-11 | 3 | -7/+55 |
| | |||||
* | blogc: sysinfo: get fqdn if available | Rafael G. Martins | 2021-03-29 | 1 | -0/+10 |
| | |||||
* | blogc: fix post sorting when mixing posts before and after `Sun Sep 9 ↵ | Rafael G. Martins | 2020-10-13 | 1 | -1/+4 |
| | | | | 01:46:40 AM UTC 2001` | ||||
* | blogc: generate table of contents tree | Rafael G. Martins | 2020-09-11 | 9 | -19/+217 |
| | | | | | | | | | | | | | this commit allows users to use the `{{ TOCTREE }}` variable in their templates, to get automatically generated table of contents for entries. The variable is binded to each entry, so it can be used in any block that runs in entry context, like `{% block entry %}`. There's a small performance penalty for this, because the table of contents is rendered for any entry, despite being used or not, and not generated on-demand. still missing documentation. tests are good enough. | ||||
* | *: update copyright | Rafael G. Martins | 2020-05-31 | 6 | -6/+6 |
| | | | | this time I'm only updating the files I touched this year. | ||||
* | common: bc_stdin_read() should set read length | Rafael G. Martins | 2020-05-30 | 1 | -4/+5 |
| | |||||
* | blogc: removed unused variable | Rafael G. Martins | 2020-05-29 | 1 | -2/+0 |
| | |||||
* | blogc: use new filelist parser | Rafael G. Martins | 2020-05-29 | 1 | -24/+8 |
| | |||||
* | blogc: added filelist parser | Rafael G. Martins | 2020-05-29 | 2 | -0/+85 |
| | |||||
* | blogc: added listing_empty template block | Rafael G. Martins | 2020-05-16 | 2 | -1/+22 |
| | |||||
* | blogc: allow passing multiple -e options | Rafael G. Martins | 2020-04-22 | 3 | -16/+29 |
| | |||||
* | blogc: fixed bug that prevented digits in -D arguments | Rafael G. Martins | 2019-09-04 | 1 | -4/+15 |
| | |||||
* | blogc: loader: minor improvement | Rafael G. Martins | 2019-07-24 | 1 | -1/+2 |
| | |||||
* | blogc: added FILTER_SORT, to sort posts by DATE | Rafael G. Martins | 2019-04-28 | 1 | -30/+90 |
| | |||||
* | blogc: added support for formatted variables in -p | Rafael G. Martins | 2019-04-13 | 1 | -5/+4 |
| | |||||
* | blogc: added `-e` cli option and `listing_entry` template block | Rafael G. Martins | 2019-04-02 | 4 | -10/+52 |
| | |||||
* | blogc: -p should return special code when variable not found | Rafael G. Martins | 2019-03-28 | 1 | -1/+7 |
| | |||||
* | blogc: exit 1 on error | Rafael G. Martins | 2019-03-28 | 1 | -10/+10 |
| | |||||
* | blogc: dump source file variables as well as global variables | Rafael G. Martins | 2019-03-27 | 1 | -5/+10 |
| | |||||
* | blogc: content: do not escape inline code | Rafael G. Martins | 2019-02-24 | 1 | -2/+2 |
| | | | | | | this is more compatible with markdown spec[1] [1] https://daringfireball.net/projects/markdown/syntax#code | ||||
* | blogc: sysinfo: simplified username impl. fixed tests | Rafael G. Martins | 2019-02-23 | 3 | -30/+2 |
| | |||||
* | blogc: rusage: added tests, fixed minor issue | Rafael G. Martins | 2019-02-10 | 2 | -2/+4 |
| | |||||
* | blogc: sysinfo: added tests | Rafael G. Martins | 2019-02-10 | 1 | -0/+2 |
| | |||||
* | blogc: funcvars: code simplified, added tests | Rafael G. Martins | 2019-02-10 | 3 | -10/+11 |
| | |||||
* | blogc: template: allow whitespaces in template tags, not just spaces | Rafael G. Martins | 2019-02-09 | 1 | -16/+15 |
| | |||||
* | blogc: sysinfo: fix memory leak | Rafael G. Martins | 2019-02-08 | 1 | -0/+1 |
| | |||||
* | blogc: added "inside docker" template variable | Rafael G. Martins | 2019-02-04 | 3 | -0/+43 |
| | |||||
* | blogc: added username template variable | Rafael G. Martins | 2019-02-03 | 3 | -0/+49 |
| | |||||
* | blogc: added datetime template variable | Rafael G. Martins | 2019-02-03 | 3 | -0/+46 |
| | |||||
* | blogc: unistd.h wont provide gethostname | Rafael G. Martins | 2019-02-03 | 1 | -0/+2 |
| | |||||
* | blogc: added hostmane template variable | Rafael G. Martins | 2019-02-03 | 3 | -0/+77 |
| | |||||
* | blogc: rusage: fix formatting | Rafael G. Martins | 2019-02-02 | 1 | -4/+4 |
| | |||||
* | blogc: optimized getrusage calls | Rafael G. Martins | 2019-02-02 | 4 | -43/+31 |
| | |||||
* | blogc: fix rusage macro | Rafael G. Martins | 2019-02-02 | 1 | -2/+6 |
| | |||||
* | blogc: do not add rusage vars if not supported | Rafael G. Martins | 2019-02-02 | 3 | -1/+22 |
| | |||||
* | blogc: added template variables for memory and cpu time resource usage | Rafael G. Martins | 2019-02-02 | 5 | -3/+183 |
| | | | | | | | this include infrastructure required to have variables evaluated as lazy function calls. missing tests, docs and improvements. | ||||
* | *: update copyright | Rafael G. Martins | 2019-01-15 | 15 | -15/+15 |
| | |||||
* | renderer: fix a (very) unlikely segfault detected by scan-build | Rafael G. Martins | 2018-12-20 | 1 | -2/+2 |
| | |||||
* | *: update copyright | Rafael G. Martins | 2018-10-14 | 15 | -15/+15 |
| | |||||
* | blogc: common: replace unsigned int with size_t | Rafael G. Martins | 2018-03-20 | 6 | -14/+14 |
| | |||||
* | blogc: loader: respect FILTER_PER_PAGE=0 | Rafael G. Martins | 2018-03-20 | 1 | -2/+2 |
| | |||||
* | Revert "blogc: make: mkdir may raise ENOENT" | Rafael G. Martins | 2018-02-25 | 1 | -1/+1 |
| | | | | | | This reverts commit 0bc74a99b362a7ef58655bf3d4b29d5699c38c90. That change made no sense :x | ||||
* | blogc: make: mkdir may raise ENOENT | Rafael G. Martins | 2018-02-24 | 1 | -1/+1 |
| | |||||
* | blogc: template: fixed comment | Rafael G. Martins | 2018-02-22 | 1 | -1/+3 |
| | |||||
* | blogc: template parser refactoring | Rafael G. Martins | 2018-02-21 | 6 | -161/+164 |
| | | | | mostly names and data structures. | ||||
* | Allow lines starting with * or ** | baylej | 2017-10-25 | 1 | -7/+24 |
| | | | | | | | These are emphasizing markups per the "Markdown standard". A line containing two '*' or '+' or '-' are not valid horizontal rules. See: https://daringfireball.net/projects/markdown/syntax#hr | ||||
* | loader: added FILTER_REVERSE | Rafael G. Martins | 2017-07-25 | 1 | -1/+14 |
| | |||||
* | allow source config keys without value | Rafael G. Martins | 2017-06-28 | 1 | -3/+4 |
| | |||||
* | Fix an issue when using imbricated if-else blocks | baylej | 2017-05-04 | 1 | -0/+3 |
| | | | | `valid_else` is not correctly set when `evaluate` is true | ||||
* | *: updated copyright | Rafael G. Martins | 2017-02-25 | 15 | -15/+15 |
| |