diff options
Diffstat (limited to 'lib/Hakyll')
-rw-r--r-- | lib/Hakyll/Web/Pandoc/Biblio.hs | 5 |
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 -------------------------------------------------------------------------------- |