Il giorno mercoledì 16 novembre 2016 17:26:37 UTC+1, Manlio Perillo ha 
scritto:
>
> I'm trying to use the new block action in the template package but I'm not 
> sure to understand how it should be use.
>
> What I would like to do is something like template inheritance support in 
> Jinja templating:
> http://jinja.pocoo.org/docs/dev/templates/#template-inheritance
>
>
>
I wrote this package:
https://gist.github.com/anonymous/62fe24c6f6cf865bf5d257d753db312f

It implements a template loader; I adapted the code from
https://github.com/golang/gddo

Is this useful enough to be implemented in golang.org/x/ subrepository?

Another question is: what is the reason why the template engine does not 
support the
{{include "name"}} action?


Thanks (and also thanks to Asit for the response)
Manlio

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to