Skip to content

Commit

Permalink
use the URLs without the .html suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Mar 15, 2013
1 parent c22bdcb commit 062bf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site.hs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ getFullUrl root item = do
mbPath <- getRoute.itemIdentifier $ item
let fullUrl = case mbPath of
Nothing -> ""
Just url -> (root ++) . toUrl $ url
Just url -> removeHtmlPrefix . (root ++) . toUrl $ url
return fullUrl

getImageFullUrl :: String -> (Item a) -> Compiler String
Expand Down

0 comments on commit 062bf24

Please sign in to comment.