flosch / pongo2

Django-syntax like template-engine for Go
https://www.schlachter.tech/pongo2
MIT License
2.88k stars 270 forks source link

Add the possibility for pre-processors #59

Open flosch opened 10 years ago

flosch commented 10 years ago

To accomplish things like:

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5212693-add-the-possibility-for-pre-processors?utm_campaign=plugin&utm_content=tracker%2F3654947&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3654947&utm_medium=issues&utm_source=github).
flosch commented 10 years ago

Are there any JS/HTML compressors/minimizers or other tools which might be useful for pongo2 in that regard?

digitalcrab commented 10 years ago

Hm ... good idea, but in my case it doesn't works, we use separated minifitation tool right before deploy on production.

ahall commented 10 years ago

I used to be on this wagon before starting to use ngx_pagespeed which does this all and one less thing for me to worry about.