diff --git a/cmd/cdr/generate.go b/cmd/cdr/generate.go index 7a7fe4e..9fead75 100644 --- a/cmd/cdr/generate.go +++ b/cmd/cdr/generate.go @@ -29,7 +29,7 @@ func newMixtape(wd string) (*cdr.Mixtape, error) { c := 1 filepath.Walk(wd, func(path string, i os.FileInfo, err error) error { - if !i.IsDir() && !strings.HasPrefix(i.Name(), ".") && i.Name() != "index.html" { + if !i.IsDir() && !strings.HasPrefix(i.Name(), ".") && i.Name() != "index.html" && !strings.HasSuffix(i.Name(), ".tmpl") { t, err := cdr.NewTrack(i.Name()) if err != nil { log.Printf("Skipping track %s: %v", i.Name(), err)