Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow {% if VALUE1 == VALUE2 %}, with two defines | Palmer Dabbelt | 2015-10-26 | 1 | -2/+20 |
| | | | | | | | | | | | | | | | I was surprised to see that blogc doesn't support testing for equality between two defined values, it just supports comparison between a variable and a constant string. I want to be able to compare two variables so I can build the same source with different "-D" argument on the command line to produce different outputs. This patch adds support for this pattern. I changed the parser to include the '"' at the beginning and end of a string, which allows the renderer to determine if the user passed in a string or a variable name. This is a bit hacky and causes some of the tests to fail -- these tests look at the string values coming out of the parser. I updated the tests to match the new behavior. | ||||
* | datetime-parser: improve error handling | Rafael G. Martins | 2015-10-24 | 1 | -21/+9 |
| | |||||
* | renderer: accept empty list of files with -l | Rafael G. Martins | 2015-10-07 | 1 | -1/+11 |
| | |||||
* | fixed copyright | Rafael G. Martins | 2015-05-25 | 1 | -1/+1 |
| | |||||
* | renderer: implemented if statements | Rafael G. Martins | 2015-05-18 | 1 | -8/+34 |
| | |||||
* | template-parser: if -> ifdef, if not -> ifndef | Rafael G. Martins | 2015-05-17 | 1 | -4/+4 |
| | |||||
* | added global variables with date/filename on first and last post | Rafael G. Martins | 2015-05-09 | 1 | -8/+28 |
| | |||||
* | renderer: respect local scope | Rafael G. Martins | 2015-05-08 | 1 | -2/+7 |
| | |||||
* | implemented datetime parsing/formatting | Rafael G. Martins | 2015-04-28 | 1 | -18/+73 |
| | |||||
* | added global variable support | Rafael G. Martins | 2015-04-27 | 1 | -31/+49 |
| | |||||
* | template parser: added "if not" support | Rafael G. Martins | 2015-04-23 | 1 | -2/+12 |
| | |||||
* | refactored blocks | Rafael G. Martins | 2015-04-21 | 1 | -14/+12 |
| | | | | | | | | | - changed block names: - single_source -> entry - multiple_sources -> listing - multiple_sources_once -> listing_once - added -t cli option, to build listing pages, instead of guess it from the number of source files provided. | ||||
* | remove specific type used to store sources | Rafael G. Martins | 2015-04-19 | 1 | -3/+3 |
| | |||||
* | added renderer, without tests | Rafael G. Martins | 2015-04-19 | 1 | -0/+145 |