ginger icon indicating copy to clipboard operation
ginger copied to clipboard

A Haskell implementation of the Jinja template language.

Results 30 ginger issues
Sort by recently updated
recently updated
newest added

When i have a nest structure of arrays and objects and do `{{var}}` it concatenates all values. Instead could it print a JSON like format to see the structure? If...

Hello From https://github.com/tdammers/ginger/blob/master/doc/getting-started.markdown#running---the-easy-interface > Note that, because Ginger is a dynamically typed language (or, actually, an untyped language), passing values to a template execution context requires conversion to Ginger values,...

Would it be possible to add support for records that become GVal dictionaries? Maybe with GHC.Generics instances can automatically be derived. I would prefer to just put my records straight...

I'm planning to use `ginger` as the underlying library for a static site generator. However, I'm puzzled why the only two types types implementing [ContextEncodable](https://hackage.haskell.org/package/ginger-0.10.0.5/docs/Text-Ginger-Run-Type.html#t:ContextEncodable) are `Text` and `Html` (which...

enhancement

Hello, We are using Ginger to generate documents based on questionnaires where are follow-up questions leading us to recursion. For that, we use macros in the template, but the "deeper"...

enhancement

Make a backend that can load data from environment variables

We need to make a special case here, because `defined` cannot be implemented as a function - any argument passed to a function is evaluated before passing it in, and...

Jinja2 uses the `is` keyword to express "test expressions". Here's the relevant [Jinja2 documentation](http://jinja.pocoo.org/docs/2.10/templates/#tests). In Ginger, since we want tests, functions, and filter, to all be just different syntax for...

feature
jinja2-parity
low-hanging-fruit

`ginger` decided that there is no difference between functions, tests and filters. Unfortunately, there is a clash for the tests and filters `lower` and `upper`: In jinja2: `|upper` returns an...

discussion

The `not` unary is missing. This is easily testable with the following test case: ``` , testCase "if not true then \"yes\" else \"no\"" $ do mkTestHtml [] [] "{%...

enhancement
jinja2-parity