fix a permalink related bug

This commit is contained in:
Yann Esposito (Yogsototh) 2020-10-29 19:05:58 +01:00
parent 2140b5fe0d
commit 32da0b640d
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
1 changed files with 1 additions and 1 deletions

View File

@ -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)