From e687662ba0421729c4ab07c08744004c2ea1dd55 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 6 Jun 2013 10:21:18 +0200 Subject: teaserContext -> teaserField --- web/tutorials/using-teasers-in-hakyll.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/tutorials') 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 ``` -- cgit v1.2.3