Commit 4e33bc2f authored by Nicolas Lenz's avatar Nicolas Lenz

Make index.html link meta root-relative

parent c21e8bb0
Pipeline #297 passed with stage
in 2 minutes and 43 seconds
......@@ -24,7 +24,7 @@ load Config{..} = Nebelhorn
<*> uncurry linkIntoMeta <$$> prependPath configFolderArticle
<$$> readFolder configFolderArticle
<*> uncurry linkIntoMeta <$$> readFolder configFolderPage
<*> return (Pandoc (Meta $ Map.singleton "link" $ MetaString "index.html") [])
<*> return (Pandoc (Meta $ Map.singleton "link" $ MetaString "/index.html") [])
<*> (unpack <$> readFileUtf8 (toFilePath configTemplateArticle))
<*> (unpack <$> readFileUtf8 (toFilePath configTemplatePage))
<*> (unpack <$> readFileUtf8 (toFilePath configTemplateIndex))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment