Bjørn Erik Pedersen
2bea9d0ca1
Revert "tplimpl: return an error on unsupported type in isSet"
...
This breaks the theme site and lots of themes, so we will have to thinkg a little harder about this one.
This reverts commit 74ea81b885adc64d0194df461cbc85667294d16e.
2017-03-26 20:09:08 +02:00
digitalcraftsman
5d0748ce51
tpl: Add union template func
2017-03-12 23:04:12 +01:00
Cameron Moore
45b9d7223a
tplimpl: Add built-in print funcs to FuncMap
...
Add print, printf, and println to the Hugo FuncMap so that they are
accessible to the apply template func.
Updates #3139
2017-03-09 00:21:55 +01:00
Cameron Moore
74ea81b885
tplimpl: return an error on unsupported type in isSet
...
Fixes #3092
2017-03-02 00:11:10 +01:00
Bjørn Erik Pedersen
77cbe4d60b
tplimpl: Refactor imageConfig into a struct
...
Updates #2701
2017-02-17 17:15:26 +01:00
Bjørn Erik Pedersen
c507e2717d
tpl: Refactor package
...
Now:
* The template API lives in /tpl
* The rest lives in /tpl/tplimpl
This is bound te be more improved in the future.
Updates #2701
2017-02-17 17:15:26 +01:00