diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/tutorials/hakyll-3-to-hakyll4-migration-guide.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/tutorials/hakyll-3-to-hakyll4-migration-guide.markdown b/web/tutorials/hakyll-3-to-hakyll4-migration-guide.markdown index 86e9412..929e909 100644 --- a/web/tutorials/hakyll-3-to-hakyll4-migration-guide.markdown +++ b/web/tutorials/hakyll-3-to-hakyll4-migration-guide.markdown @@ -37,7 +37,7 @@ The `Page` type in Hakyll 3.X has been removed and replaced by an `Item` type. `pageCompiler` no longer exists -- where you previously used this, you probably want to use `pandocCompiler` instead. -`Page`s where manipulated using `setField`/`getField` functions in Hakyll 3.X. +`Page`s were manipulated using `setField`/`getField` functions in Hakyll 3.X. In Hakyll 4, all metadata is completely immutable, so these functions have been removed. In order to format and add fields, use a `Context` -- see the next section. |