diff options
author | David Parrish <daveparrish@tutanota.com> | 2019-08-25 09:02:01 -0400 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2019-08-25 15:02:01 +0200 |
commit | 779fa66c7b1719e071dc3f4d38a4cc2feb9492c6 (patch) | |
tree | c8a5155c5671f544c1c7eb4bf1a5e85e0ad17ad0 /lib/Hakyll | |
parent | e8ea8cd57bc627e58b3fc14f23f11d310044dc33 (diff) | |
download | hakyll-779fa66c7b1719e071dc3f4d38a4cc2feb9492c6.tar.gz |
Add getCategory tests
Diffstat (limited to 'lib/Hakyll')
-rw-r--r-- | lib/Hakyll/Web/Tags.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hakyll/Web/Tags.hs b/lib/Hakyll/Web/Tags.hs index 13e8cd3..43f6c4f 100644 --- a/lib/Hakyll/Web/Tags.hs +++ b/lib/Hakyll/Web/Tags.hs @@ -113,7 +113,7 @@ getTags identifier = do -------------------------------------------------------------------------------- --- | Obtain categories from a page. +-- | Obtain category from a page. getCategory :: MonadMetadata m => Identifier -> m [String] getCategory = return . return . takeBaseName . takeDirectory . toFilePath |