-
-
In the code below, I declare `a` in the top most context I can, then I have a loop, within which I wish to manipulate that higher-level `a` and have the value 'stick' for later use in the template. I…
-
Is there any benefit of replacing go templates with https://github.com/flosch/pongo2?
- Would it be easier for non go developers?
- Is it hard to plug in?
- Is it in a long term vision for alfred t…
-
We currently build a lot of our platforms using Jinja2, which is the go to number 2 templating platform in Python, second only to Django. They are very, very similar, but Jinja2 has some capabilities…
-
Hi,
I just went through your middleware and noticed that you're not caching the compiled templates. Instead, [you're compiling them on every request](https://github.com/ngerakines/ginpongo2/blob/mast…
-
sql := "company.join_comp_apply.done_list.stpl"
paramMap := map[string]interface{}{"comp_id": "123"}
var applyDtos []dto.ApplyDto
to, _ := d.db.SqlTemplateClient(sql, ¶mMap).Count()
//无法…
-
Not sure if pongo2 is maintained anymore at this point, however the upgrade from blackfriday v1 to v2 is quite simple (rather than `MarkdownCommon`, you'd use `Run`). May also suggest pairing it with …
-
[pug](https://github.com/pugjs/pug) and [jade](https://github.com/Joker/jade) are very active and popular.
But Amber is dead .
![image](https://user-images.githubusercontent.com/37062/180646860-7fc7…
-
Version: `github.com/flosch/pongo2/v6 v6.0.0`
## Background
I have a macro `main` which i want to use in my templates. To implement this macro, i rely on child macros -`child`.
```j2
{% mac…
-
```shell
go get github.com/betacraft/yaag@v1.0.0
go: finding github.com v1.0.0
go: finding github.com/betacraft v1.0.0
go get: github.com/betacraft/yaag@v1.0.0 requires
github.com/flosch/pongo2@…