aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc
Commit message (Collapse)AuthorAgeFilesLines
* blogc: renderer: add `FOREACH_VALUE` variableRafael G. Martins2023-02-113-7/+55
|
* blogc: sysinfo: get fqdn if availableRafael G. Martins2021-03-291-0/+10
|
* blogc: fix post sorting when mixing posts before and after `Sun Sep 9 ↵Rafael G. Martins2020-10-131-1/+4
| | | | 01:46:40 AM UTC 2001`
* blogc: generate table of contents treeRafael G. Martins2020-09-119-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 copyrightRafael G. Martins2020-05-316-6/+6
| | | | this time I'm only updating the files I touched this year.
* common: bc_stdin_read() should set read lengthRafael G. Martins2020-05-301-4/+5
|
* blogc: removed unused variableRafael G. Martins2020-05-291-2/+0
|
* blogc: use new filelist parserRafael G. Martins2020-05-291-24/+8
|
* blogc: added filelist parserRafael G. Martins2020-05-292-0/+85
|
* blogc: added listing_empty template blockRafael G. Martins2020-05-162-1/+22
|
* blogc: allow passing multiple -e optionsRafael G. Martins2020-04-223-16/+29
|
* blogc: fixed bug that prevented digits in -D argumentsRafael G. Martins2019-09-041-4/+15
|
* blogc: loader: minor improvementRafael G. Martins2019-07-241-1/+2
|
* blogc: added FILTER_SORT, to sort posts by DATERafael G. Martins2019-04-281-30/+90
|
* blogc: added support for formatted variables in -pRafael G. Martins2019-04-131-5/+4
|
* blogc: added `-e` cli option and `listing_entry` template blockRafael G. Martins2019-04-024-10/+52
|
* blogc: -p should return special code when variable not foundRafael G. Martins2019-03-281-1/+7
|
* blogc: exit 1 on errorRafael G. Martins2019-03-281-10/+10
|
* blogc: dump source file variables as well as global variablesRafael G. Martins2019-03-271-5/+10
|
* blogc: content: do not escape inline codeRafael G. Martins2019-02-241-2/+2
| | | | | | this is more compatible with markdown spec[1] [1] https://daringfireball.net/projects/markdown/syntax#code
* blogc: sysinfo: simplified username impl. fixed testsRafael G. Martins2019-02-233-30/+2
|
* blogc: rusage: added tests, fixed minor issueRafael G. Martins2019-02-102-2/+4
|
* blogc: sysinfo: added testsRafael G. Martins2019-02-101-0/+2
|
* blogc: funcvars: code simplified, added testsRafael G. Martins2019-02-103-10/+11
|
* blogc: template: allow whitespaces in template tags, not just spacesRafael G. Martins2019-02-091-16/+15
|
* blogc: sysinfo: fix memory leakRafael G. Martins2019-02-081-0/+1
|
* blogc: added "inside docker" template variableRafael G. Martins2019-02-043-0/+43
|
* blogc: added username template variableRafael G. Martins2019-02-033-0/+49
|
* blogc: added datetime template variableRafael G. Martins2019-02-033-0/+46
|
* blogc: unistd.h wont provide gethostnameRafael G. Martins2019-02-031-0/+2
|
* blogc: added hostmane template variableRafael G. Martins2019-02-033-0/+77
|
* blogc: rusage: fix formattingRafael G. Martins2019-02-021-4/+4
|
* blogc: optimized getrusage callsRafael G. Martins2019-02-024-43/+31
|
* blogc: fix rusage macroRafael G. Martins2019-02-021-2/+6
|
* blogc: do not add rusage vars if not supportedRafael G. Martins2019-02-023-1/+22
|
* blogc: added template variables for memory and cpu time resource usageRafael G. Martins2019-02-025-3/+183
| | | | | | | this include infrastructure required to have variables evaluated as lazy function calls. missing tests, docs and improvements.
* *: update copyrightRafael G. Martins2019-01-1515-15/+15
|
* renderer: fix a (very) unlikely segfault detected by scan-buildRafael G. Martins2018-12-201-2/+2
|
* *: update copyrightRafael G. Martins2018-10-1415-15/+15
|
* blogc: common: replace unsigned int with size_tRafael G. Martins2018-03-206-14/+14
|
* blogc: loader: respect FILTER_PER_PAGE=0Rafael G. Martins2018-03-201-2/+2
|
* Revert "blogc: make: mkdir may raise ENOENT"Rafael G. Martins2018-02-251-1/+1
| | | | | | This reverts commit 0bc74a99b362a7ef58655bf3d4b29d5699c38c90. That change made no sense :x
* blogc: make: mkdir may raise ENOENTRafael G. Martins2018-02-241-1/+1
|
* blogc: template: fixed commentRafael G. Martins2018-02-221-1/+3
|
* blogc: template parser refactoringRafael G. Martins2018-02-216-161/+164
| | | | mostly names and data structures.
* Allow lines starting with * or **baylej2017-10-251-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_REVERSERafael G. Martins2017-07-251-1/+14
|
* allow source config keys without valueRafael G. Martins2017-06-281-3/+4
|
* Fix an issue when using imbricated if-else blocksbaylej2017-05-041-0/+3
| | | | `valid_else` is not correctly set when `evaluate` is true
* *: updated copyrightRafael G. Martins2017-02-2515-15/+15
|