more templates
This commit is contained in:
2
main.go
2
main.go
@@ -186,6 +186,8 @@ func readContentDir(inBase string, outBase string, dir string, conf *PathConfig,
|
||||
stripedDir = regex.ReplaceAllString(stripedDir, "$1")
|
||||
}
|
||||
}
|
||||
regex := regexp.MustCompile("[^a-zA-Z]")
|
||||
stripedDir = regex.ReplaceAllString(stripedDir, "_")
|
||||
outPath := outBase + "/" + stripedDir
|
||||
outPath = path.Clean(outPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user