about summary refs log tree commit diff
path: root/src/Blog.hs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-21T17·31+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-21T17·31+0100
commit28b00ef3d4925302f25b65f4735aa01a9fc5240d (patch)
treea364172dd850650a37b7c4b987799f3b58dd1ce2 /src/Blog.hs
parente6a20995f59f1cf098976345ff737281bb771072 (diff)
[blog] Minor design fixes
Diffstat (limited to 'src/Blog.hs')
-rw-r--r--src/Blog.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Blog.hs b/src/Blog.hs
index f44cfe1f4265..f6ed6e54f903 100644
--- a/src/Blog.hs
+++ b/src/Blog.hs
@@ -82,8 +82,9 @@ $forall entry <- toDisplay
     $else
       ^{preEscapedToHtml $ btext entry}
     $if ((/=) (mtext entry) empty)
-      <a .uncoloured-link href=#{linkElems entry}>
-        #{readMore $ lang entry}
+      <p>
+        <a .uncoloured-link href=#{linkElems entry}>
+          #{readMore $ lang entry}
   <hr>
 $maybe links <- pageLinks
   ^{links}
@@ -123,6 +124,7 @@ renderEntry e@Entry{..} = [shamlet|
     <p>^{renderEntryMarkdown $ mtext}
   $else
     ^{preEscapedToHtml $ btext}
+    <p>^{preEscapedToHtml $ mtext}
 <hr>
 |]