summaryrefslogtreecommitdiffstats
path: root/src/Zettel
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-05-11 22:16:34 +0100
committerYann Herklotz <git@yannherklotz.com>2023-05-11 22:16:34 +0100
commitf728a2897e98837575f7ffba3528b125aaccbc85 (patch)
tree608503847ec2d1e802f1bae7185bfbab5c5bea64 /src/Zettel
parentc9ad64355e00f56663b84daa3be6c6936c6ae44d (diff)
downloadzk-visual-f728a2897e98837575f7ffba3528b125aaccbc85.tar.gz
zk-visual-f728a2897e98837575f7ffba3528b125aaccbc85.zip
Fix links
Diffstat (limited to 'src/Zettel')
-rw-r--r--src/Zettel/Links.hs2
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