mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-28 16:45:32 +00:00
hx-boost works properly; introduced cache for xslt processor
This commit is contained in:
@@ -51,7 +51,9 @@ func (e *Engine) Funcs(app *app.KGPZ) error {
|
||||
e.AddFunc("Lower", strings.ToLower)
|
||||
e.AddFunc("Safe", functions.Safe)
|
||||
|
||||
// Embedding of file contents
|
||||
e.AddFunc("EmbedSafe", functions.EmbedSafe(views.StaticFS))
|
||||
e.AddFunc("Embed", functions.Embed(views.StaticFS))
|
||||
|
||||
// App specific
|
||||
e.AddFunc("GetAgent", app.Library.Agents.Item)
|
||||
|
||||
Reference in New Issue
Block a user