diff options
| author | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-10-16 11:31:16 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2023-10-16 11:34:26 +0200 |
| commit | 4f380f6b801d08fb6499b64f0eb18a8211189acd (patch) | |
| tree | df3f5665bcf75253e9bac8aade0a7adcab1314a2 | |
| parent | 318d603c51a730a9d55f0f44b2ffff5874cfb5cb (diff) | |
| download | reploy-4f380f6b801d08fb6499b64f0eb18a8211189acd.tar.gz reploy-4f380f6b801d08fb6499b64f0eb18a8211189acd.tar.bz2 | |
fix reversed append-url-index test
| -rw-r--r-- | reploy.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -158,10 +158,10 @@ rootedPageLink' = do ub <- use urlBase app <- use appendUrlIndex if app - then pure (ub </>) - else do + then do idxf <- use indexFile pure $ \x -> ub </> x </> idxf + else pure (ub </>) -- | Transform a link to page to a full rooted URL rootedPageLink :: FilePath -> Site FilePath |
