Fixed styling for Blog Not Found page.
authorsabadev <saba@sabadev.xyz>
Sun, 11 Apr 2021 23:42:06 +0000 (19:42 -0400)
committersabadev <dev@sabadev.xyz>
Tue, 13 Apr 2021 01:16:49 +0000 (21:16 -0400)
src/Html.hs

index e0f8a24..3a18ed2 100644 (file)
@@ -81,7 +81,10 @@ blogNotFound :: (MonadIO m) => Maybe Theme -> BlogId -> SomeException -> m (Html
 blogNotFound theme blogId _ = htmlContainer theme Nothing $ do
   div_ [class_ "not-found"] $ do
     h1_ $ toHtml @T.Text "Blog not found"
-    p_ $ toHtml $ "Blog post " <> T.pack blogId <> " could not found."
+    p_ $ do
+      toHtml @T.Text "Blog post "
+      em_ $ toHtml $ T.pack blogId
+      toHtml @T.Text " could not found."
 
 siteTitle :: T.Text
 siteTitle = "My Site"