Skip to content
Snippets Groups Projects
Commit 2c7d9e0c authored by orestis.malaspin's avatar orestis.malaspin
Browse files

corrected omision of pages export

parent 6459b717
No related branches found
No related tags found
No related merge requests found
Pipeline #12597 passed
......@@ -133,6 +133,12 @@ main = hakyllWith config $ do
>>= applyAsTemplate (indexCtx posts)
>>= relativizeUrls
match "pages/*" $ do
route $ setExtension "html"
compile $ getResourceBody
>>= loadAndApplyTemplate "templates/page.html" postCtx
>>= relativizeUrls
-- Read templates
match "templates/*" $ compile templateCompiler
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment