mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
Cache Key Gen
This commit is contained in:
@@ -189,7 +189,7 @@ func (e *Engine) AddFuncs(funcs template.FuncMap) {
|
||||
}
|
||||
|
||||
func (e *Engine) Render(out io.Writer, path string, data any, layout ...string) error {
|
||||
slog.Debug("Rendering", "path", path, "layout", layout, "data", data)
|
||||
// slog.Debug("Rendering", "path", path, "layout", layout, "data", data)
|
||||
e.mu.RLock()
|
||||
ld := data.(fiber.Map)
|
||||
if e.GlobalData != nil {
|
||||
|
||||
Reference in New Issue
Block a user