diff options
author | Simonas Kazlauskas <git@kazlauskas.me> | 2013-03-16 13:01:17 +0200 |
---|---|---|
committer | Simonas Kazlauskas <git@kazlauskas.me> | 2013-03-16 13:01:17 +0200 |
commit | 0c2b429ae0dc5b97867e8bc31dce0639ed1b92e1 (patch) | |
tree | 846d2e997e088c385a5656fec72f609d93124341 /src/Hakyll/Web | |
parent | a72906095c1ea7b2d24ca4368f8165f15ac22059 (diff) | |
download | hakyll-0c2b429ae0dc5b97867e8bc31dce0639ed1b92e1.tar.gz |
renderDateField does not exist
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r-- | src/Hakyll/Web/Template/Context.hs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Hakyll/Web/Template/Context.hs b/src/Hakyll/Web/Template/Context.hs index f9c96d0..c0a4e2a 100644 --- a/src/Hakyll/Web/Template/Context.hs +++ b/src/Hakyll/Web/Template/Context.hs @@ -139,11 +139,6 @@ titleField key = mapContext takeBaseName $ pathField key -- @folder/yyyy-mm-dd-title.extension@ format (the convention for pages) -- and no @published@ metadata field set, this function can render -- the date. --- --- > renderDateField "date" "%B %e, %Y" "Date unknown" --- --- Will render something like @January 32, 2010@. --- dateField :: String -- ^ Key in which the rendered date should be placed -> String -- ^ Format to use on the date -> Context a -- ^ Resulting context @@ -165,7 +160,7 @@ dateFieldWith locale key format = field key $ \i -> do -------------------------------------------------------------------------------- -- | Parser to try to extract and parse the time from the @published@ --- field or from the filename. See 'renderDateField' for more information. +-- field or from the filename. See 'dateField' for more information. -- Exported for user convenience. getItemUTC :: MonadMetadata m => TimeLocale -- ^ Output time locale |