diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-05-11 22:16:34 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-05-11 22:16:34 +0100 |
commit | f728a2897e98837575f7ffba3528b125aaccbc85 (patch) | |
tree | 608503847ec2d1e802f1bae7185bfbab5c5bea64 /src/Zettel | |
parent | c9ad64355e00f56663b84daa3be6c6936c6ae44d (diff) | |
download | zk-visual-f728a2897e98837575f7ffba3528b125aaccbc85.tar.gz zk-visual-f728a2897e98837575f7ffba3528b125aaccbc85.zip |
Fix links
Diffstat (limited to 'src/Zettel')
-rw-r--r-- | src/Zettel/Links.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Zettel/Links.hs b/src/Zettel/Links.hs index f5638ad..676f945 100644 --- a/src/Zettel/Links.hs +++ b/src/Zettel/Links.hs @@ -57,7 +57,7 @@ backwardLink zg = ZettelGraph . Map.mapWithKey (backwardLinkNode zg) $ unZettelG updatePandocLinksInline :: Inline -> Inline updatePandocLinksInline l@(Link a i (_, t)) - | not $ T.null ids = Link a i ("/tree/" <> ids, t) + | not $ T.null ids = Link a i ("/zettel/" <> ids, t) | otherwise = l where ids = parseIds $ stringify i |