diff options
Diffstat (limited to 'site.hs')
| -rw-r--r-- | site.hs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -131,8 +131,7 @@ rootUrl fp = (</> unAbsolute fp) <$> use urlBase -- | Process a single link pointing out from a page. processLink :: FilePath -> FilePath -> Site String -processLink base l = do - io $ putStrLn l +processLink base l = if any (l `hasUriScheme`) ["http", "https", "ftp", "mailto"] then pure l else if isAbsolute l |
