myPandoc function removed
This commit is contained in:
parent
00a6dc0dda
commit
961c26a831
1 changed files with 1 additions and 7 deletions
|
@ -66,7 +66,7 @@ main = do
|
||||||
paginateRules pages $ \num _ -> do
|
paginateRules pages $ \num _ -> do
|
||||||
route $ setExtension "html"
|
route $ setExtension "html"
|
||||||
compile $ do
|
compile $ do
|
||||||
compiled <- getResourceBody >>= myPandoc
|
compiled <- getResourceBody >>= renderPandoc
|
||||||
let pageCtx = paginateContext pages num
|
let pageCtx = paginateContext pages num
|
||||||
let ctx = (postCtx tags) <> pageCtx
|
let ctx = (postCtx tags) <> pageCtx
|
||||||
full <- loadAndApplyTemplate "templates/post.html" ctx compiled
|
full <- loadAndApplyTemplate "templates/post.html" ctx compiled
|
||||||
|
@ -154,9 +154,3 @@ config :: Configuration
|
||||||
config = defaultConfiguration
|
config = defaultConfiguration
|
||||||
{ deployCommand = "rsync --del --checksum -ave 'ssh -p 5555' \\_site/* nek0@chelnok.de:/home/nek0/www/blog"
|
{ deployCommand = "rsync --del --checksum -ave 'ssh -p 5555' \\_site/* nek0@chelnok.de:/home/nek0/www/blog"
|
||||||
}
|
}
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
myPandoc :: Item String -> Compiler (Item String)
|
|
||||||
myPandoc item = do
|
|
||||||
renderPandocWith defaultHakyllReaderOptions defaultHakyllWriterOptions item
|
|
||||||
|
|
Loading…
Reference in a new issue