diff options
| author | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-06-14 12:15:44 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-06-14 12:15:44 +0200 |
| commit | a04255d92cfdad56385ee6d94309bc8b493a613a (patch) | |
| tree | d73c7c939c3d090bb188fb825e3deb2de47af57a /site.hs | |
| parent | a0213a15e909045ae3f40826850ef4b080dcb988 (diff) | |
| download | reploy-a04255d92cfdad56385ee6d94309bc8b493a613a.tar.gz reploy-a04255d92cfdad56385ee6d94309bc8b493a613a.tar.bz2 | |
kill debug printout
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 |
