update tests and add debug templates log
This commit is contained in:
@@ -142,6 +142,8 @@ func (re *Render) createTemplateCache() (templateCache, error) {
|
||||
return cache, err
|
||||
}
|
||||
|
||||
slog.Debug("templates", "templates", templates)
|
||||
|
||||
for _, file := range templates {
|
||||
filePathBase := filepath.Base(file)
|
||||
if strings.Contains(filePathBase, "layout") || strings.Contains(filePathBase, "fragment") {
|
||||
|
||||
Reference in New Issue
Block a user