diff options
Diffstat (limited to 'lib/Hakyll')
-rw-r--r-- | lib/Hakyll/Core/Identifier.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hakyll/Core/Identifier.hs b/lib/Hakyll/Core/Identifier.hs index 777811c..6054771 100644 --- a/lib/Hakyll/Core/Identifier.hs +++ b/lib/Hakyll/Core/Identifier.hs @@ -62,7 +62,7 @@ instance Show Identifier where -------------------------------------------------------------------------------- -- | Parse an identifier from a string -fromFilePath :: String -> Identifier +fromFilePath :: FilePath -> Identifier fromFilePath = Identifier Nothing . intercalate "/" . filter (not . null) . split' where |