diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-01-14 15:05:24 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2013-01-14 15:05:24 +0100 |
commit | d2aaf335c3919505212ba5ae8aa2780419971dd9 (patch) | |
tree | d993f9cb89470ea8e20ee9d46821b80312deea22 /web | |
parent | 4280b75ef67a0c2224198ad1b30bd100cc56f7a4 (diff) | |
download | hakyll-d2aaf335c3919505212ba5ae8aa2780419971dd9.tar.gz |
Pattern version updates
Diffstat (limited to 'web')
-rw-r--r-- | web/tutorials/06-versions.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/tutorials/06-versions.markdown b/web/tutorials/06-versions.markdown index 4b14925..48aae15 100644 --- a/web/tutorials/06-versions.markdown +++ b/web/tutorials/06-versions.markdown @@ -55,13 +55,13 @@ is valid code, but **probably not** what you want to do: this will select all to fix this, use any of the following: ```haskell -loadAll (noVersion "posts/*") :: Compiler [Item String] +loadAll ("posts/*" .&&. hasNoVersion) :: Compiler [Item String] ``` for the default versions, i.e. the HTML pages, and: ```haskell -loadAll ("posts/*" `withVersion` "raw") :: Compiler [Item String] +loadAll ("posts/*" .&&. hasVersion "raw") :: Compiler [Item String] ``` for the raw versions. |