Replacing dash in static files
This commit is contained in:
parent
8101113505
commit
08ad4709c0
@ -110,6 +110,7 @@ staticFiles fp = do
|
||||
concat `fmap` mapM go fs
|
||||
where
|
||||
replace' '.' = '_'
|
||||
replace' '-' = '_'
|
||||
replace' c = c
|
||||
go f = do
|
||||
let name = mkName $ intercalate "_" $ map (map replace') f
|
||||
|
||||
Loading…
Reference in New Issue
Block a user