ginger
ginger copied to clipboard
A Haskell implementation of the Jinja template language.
The following dependency upper bounds are extended: * `bytestring` (tested `0.12.1.0`) * `text` (tested `2.1.1`) * `tasty` (tested `1.5`) No changes to the code are necessary. With the extended bounds,...
Supposing that I have a context with a templatePath field, have we any way to call include on the path stored therewithin? Both ``` {% include "{{ object._templatePath }}" %}...
Would you please be so kind to publish the current version, since recent LTSes use Bytestring == 0.11, which is incompatible with the version that you've published on Hackage.
There is an expired certificate in the documentation: https://ginger.tobiasdammers.nl/
Is there something like that in Ginger? I see `split`, but no reverse operation. After obvious first guess - `join` - I also tried `intercalate`, but that didn't work either....
The lack of dependency version constraints in old versions of Ginger can cause those versions to be selected for a build plan and fail. I ran into this issue when...
`String` is not fast nor memory efficient, `Text` is better in almost every case.
I'm trying to descend a recursive data-structure and recursively render the same template [1] Forget the recursive part, I'm unable to pass local variables to an included template. I've tried...
Right now when printing `{{doesnt_exist}}` it just doesn't print anything. Rather i would like to have throw an exception or even better check on compile time. Now bugs are there...
At the moment i only find documentation for for-loops at https://ginger.tobiasdammers.nl/guide/getting-started/ under heading "Ginger Syntax: The Basics.". I would like to loop over a dictionary. Sometimes only keys are needed,...