diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-06-06 10:21:18 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-06-06 10:21:18 +0200 |
commit | e687662ba0421729c4ab07c08744004c2ea1dd55 (patch) | |
tree | c58dca23fe638840d428dac2f5e02fb02c37e948 /web/tutorials | |
parent | fd917217ae218d7369a84c0b0dcdd9cfa937ca2a (diff) | |
download | hakyll-e687662ba0421729c4ab07c08744004c2ea1dd55.tar.gz |
teaserContext -> teaserField
Diffstat (limited to 'web/tutorials')
-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 ``` |