summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNg Wei En <weien1292@gmail.com>2018-12-09 00:36:41 +0800
committerJasper Van der Jeugt <jaspervdj@gmail.com>2019-05-06 12:28:04 +0200
commitee8dcb76f450fe137ecdd88a29759fe79fafb22f (patch)
tree1ab1ec18a2a727043fb0b42dd581efa20f533c54
parent7ad081c6d51e162e3a52a6331ae7af7581d41532 (diff)
downloadhakyll-ee8dcb76f450fe137ecdd88a29759fe79fafb22f.tar.gz
Expose `getCategory` in Haskell.Web.Tags
`getCategory` functions similarly to `getTags` and is a pretty useful function to have. Hence, I see no reason why it shouldn't be exposed.
-rw-r--r--lib/Hakyll/Web/Tags.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Hakyll/Web/Tags.hs b/lib/Hakyll/Web/Tags.hs
index 88119c2..13e8cd3 100644
--- a/lib/Hakyll/Web/Tags.hs
+++ b/lib/Hakyll/Web/Tags.hs
@@ -43,6 +43,7 @@
module Hakyll.Web.Tags
( Tags (..)
, getTags
+ , getCategory
, buildTagsWith
, buildTags
, buildCategories