diff options
author | Eric Stolten <stoltene2@gmail.com> | 2013-08-20 22:03:04 -0400 |
---|---|---|
committer | Eric Stolten <stoltene2@gmail.com> | 2013-08-20 22:03:04 -0400 |
commit | fbc43b3a04583a3c23e30cb3382f32faacb39a4d (patch) | |
tree | a3fd214c0cdb7e7fa552b81284f667a4b2493043 /src/Hakyll/Core/Provider/Metadata.hs | |
parent | f14f52040a5377dbca229ab34674542148a4868b (diff) | |
parent | 5679681ac15de8b3b7d1cc0db6745f6787141e23 (diff) | |
download | hakyll-fbc43b3a04583a3c23e30cb3382f32faacb39a4d.tar.gz |
Merge branch 'upstream-master'
Diffstat (limited to 'src/Hakyll/Core/Provider/Metadata.hs')
-rw-r--r-- | src/Hakyll/Core/Provider/Metadata.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Hakyll/Core/Provider/Metadata.hs b/src/Hakyll/Core/Provider/Metadata.hs index fe2857a..7e4d7ed 100644 --- a/src/Hakyll/Core/Provider/Metadata.hs +++ b/src/Hakyll/Core/Provider/Metadata.hs @@ -44,8 +44,9 @@ loadMetadata p identifier = do return (M.union md emd, body) where - fp = resourceFilePath p identifier - mi = M.lookup identifier (providerFiles p) >>= resourceInfoMetadata + normal = setVersion Nothing identifier + fp = resourceFilePath p identifier + mi = M.lookup normal (providerFiles p) >>= resourceInfoMetadata -------------------------------------------------------------------------------- |