summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Batischev <eual.jp@gmail.com>2021-07-15 18:50:47 +0300
committerGitHub <noreply@github.com>2021-07-15 18:50:47 +0300
commit0ad582562ba79e082417d5aaa3d7733859e55306 (patch)
tree43d52245f33d10016c5c90b224763e2c3111f28c
parentb273db4d067ef54248e9a52adedd3e558907d541 (diff)
downloadhakyll-0ad582562ba79e082417d5aaa3d7733859e55306.tar.gz
Avoid "Empty 'do' block" error in GitHub tutorial (#861)
Report and fix by @alexandroid000. Fixes #860.
-rw-r--r--web/tutorials/github-pages-tutorial.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/tutorials/github-pages-tutorial.md b/web/tutorials/github-pages-tutorial.md
index acecb38..2f6e82b 100644
--- a/web/tutorials/github-pages-tutorial.md
+++ b/web/tutorials/github-pages-tutorial.md
@@ -66,8 +66,7 @@ config = defaultConfiguration
}
main :: IO ()
-main = do
- hakyllWith config $ do
+main = hakyllWith config $ do
...
```