Fix svg pipeline to not need an explicit list

This commit is contained in:
Eli Ribble 2026-01-30 20:11:17 +00:00
parent 38b1cdbbad
commit 40028744ba
No known key found for this signature in database
5 changed files with 47 additions and 53 deletions

View file

@ -23,7 +23,7 @@ func buildTemplate(files ...string) *html.BuiltTemplate {
for _, c := range components {
full_files = append(full_files, fmt.Sprintf("%s/template/components/%s.html", subdir, c))
}
return html.NewBuiltTemplate(embeddedFiles, "sync/", []string{}, full_files...)
return html.NewBuiltTemplate(embeddedFiles, "sync/", full_files...)
}
// Respond with an error that is visible to the user