From 32da0b640dab462f9365a2c741861f728e05ca67 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Thu, 29 Oct 2020 19:05:58 +0100 Subject: [PATCH] fix a permalink related bug --- Shakefile.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shakefile.hs b/Shakefile.hs index 70a5690..8e9118b 100644 --- a/Shakefile.hs +++ b/Shakefile.hs @@ -311,7 +311,7 @@ genHtmlAction getPost getTemplate out = do , "orgsource" .= T.pack (postUrl bp -<.> "org") , "txtsource" .= T.pack (postUrl bp -<.> "txt") , "pdf" .= T.pack (postUrl bp -<.> "pdf") - , "permalink" .= T.pack (toS origin <> postUrl bp) + , "permalink" .= T.pack (toS origin <> postUrl bp -<.> "html") ] writeFile' out (toS htmlContent)