summaryrefslogtreecommitdiff
path: root/lib/Hakyll
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2018-01-15 18:01:22 +0100
committerGitHub <noreply@github.com>2018-01-15 18:01:22 +0100
commit37bf3fe9555406eeb12485c20aa99c25065e0760 (patch)
tree474cacc73f8bd548772b0ba6a085802824e59923 /lib/Hakyll
parenta88a91d06e57172840ef068f261c88e21eb60665 (diff)
downloadhakyll-37bf3fe9555406eeb12485c20aa99c25065e0760.tar.gz
Various dependency bumps
- Bump binary to 0.9 - Bump pandoc to 2.1 - Bump pandoc-citeproc to 0.13 - Bump http-types to 0.11 - Bump QuickCheck to 2.11 - Bump tasty to 1.0 - Bump tasty-hunit to 0.10 - Remove system-filepath dependency
Diffstat (limited to 'lib/Hakyll')
-rw-r--r--lib/Hakyll/Web/Pandoc/Biblio.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Hakyll/Web/Pandoc/Biblio.hs b/lib/Hakyll/Web/Pandoc/Biblio.hs
index dfe6d93..f53fa2b 100644
--- a/lib/Hakyll/Web/Pandoc/Biblio.hs
+++ b/lib/Hakyll/Web/Pandoc/Biblio.hs
@@ -84,7 +84,10 @@ instance Writable Biblio where
biblioCompiler :: Compiler (Item Biblio)
biblioCompiler = do
filePath <- toFilePath <$> getUnderlying
- makeItem =<< unsafeCompiler (Biblio <$> CSL.readBiblioFile filePath)
+ makeItem =<< unsafeCompiler (Biblio <$> CSL.readBiblioFile idpred filePath)
+ where
+ -- This is a filter on citations. We include all citations.
+ idpred = const True
--------------------------------------------------------------------------------