diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/tutorials/using-teasers-in-hakyll.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/tutorials/using-teasers-in-hakyll.markdown b/web/tutorials/using-teasers-in-hakyll.markdown index db24bfe..ebff3e7 100644 --- a/web/tutorials/using-teasers-in-hakyll.markdown +++ b/web/tutorials/using-teasers-in-hakyll.markdown @@ -69,13 +69,13 @@ match "posts/*" $ do You can read more about snapshots in [Snapshots tutorial](/tutorials/05-snapshots-feeds.html). -Then we use this snapshot while generating teasers using -`teaserContext` function: +Then we use this snapshot while generating teasers using the +`teaserField` function: ``` haskell loadAndApplyTemplate "template/postitem.html" - (teaserContext "content" <> defaultContext) + (teaserField "teaser" "content" <> defaultContext) item ``` |