mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 09:05:30 +00:00
hx-boost works properly; introduced cache for xslt processor
This commit is contained in:
@@ -23,7 +23,7 @@ func EmbedSafe(fs fs.FS) func(string) template.HTML {
|
||||
}
|
||||
}
|
||||
|
||||
func EmbedUnsafe(fs fs.FS) func(string) string {
|
||||
func Embed(fs fs.FS) func(string) string {
|
||||
embed_cache.Clear()
|
||||
return func(path string) string {
|
||||
val, err := getFileData(fs, path)
|
||||
|
||||
Reference in New Issue
Block a user