feat: Add fallback directory to load includes from

This commit is contained in:
Manuel Rüger
2023-10-17 12:53:10 +02:00
parent 8e16f6f29c
commit d269369911
6 changed files with 29 additions and 9 deletions

View File

@@ -41,6 +41,7 @@ func macros(templates *template.Template) ([]macro.Macro, error) {
}
macros, _, err := macro.ExtractMacros(
"",
"",
text(
`<!-- Macro: @\{([^}]+)\}`,