about summary refs log tree commit diff
path: root/src/Blog.hs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-21T18·01+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-21T18·01+0100
commita68d6cfa31ca9fa4e2773c5f3e375c21079c358b (patch)
tree08a2b292ba47cdb2a7d4a418f1182c224051ba71 /src/Blog.hs
parent4c961c4ac6948f6fed0b6ec420c9e0522d592263 (diff)
[locale/blog] Remove unused locale strings
Diffstat (limited to 'src/Blog.hs')
-rw-r--r--src/Blog.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blog.hs b/src/Blog.hs
index 62e7d4575422..a78b911eda16 100644
--- a/src/Blog.hs
+++ b/src/Blog.hs
@@ -90,7 +90,7 @@ $maybe links <- pageLinks
   ^{links}
 |]
   where
-   toDisplay = if' showAll entries (take 6 entries)
+   toDisplay = if showAll then entries else (take 6 entries)
    linkElems Entry{..} = concat $ intersperse' "/" [show lang, show entryId]
 
 showLinks :: Maybe Int -> BlogLang -> Html