refactor(tazblog): Implement HLint lints in all files
This commit is contained in:
parent
561ed1fbbb
commit
1247848d76
5 changed files with 13 additions and 15 deletions
|
|
@ -95,7 +95,7 @@ $maybe links <- pageLinks
|
|||
^{links}
|
||||
|]
|
||||
where
|
||||
linkElems Entry {..} = concat $ ["/", show entryId]
|
||||
linkElems Entry {..} = "/" ++ show entryId
|
||||
|
||||
showLinks :: Maybe Int -> Html
|
||||
showLinks (Just i) =
|
||||
|
|
@ -134,7 +134,7 @@ renderEntry e@Entry {..} =
|
|||
showError :: Text -> Text -> Html
|
||||
showError title err =
|
||||
blogTemplate (": " <> title)
|
||||
$ [shamlet|
|
||||
[shamlet|
|
||||
<p>:(
|
||||
<p>#{err}
|
||||
<hr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue