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·37+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-21T17·37+0100
commit80b6f2ca1f78f5b8a54cedee5ee1275af230bdbf (patch)
tree3c77a8a7a5561f28320d451529d17356873fa690 /src/Blog.hs
parent28b00ef3d4925302f25b65f4735aa01a9fc5240d (diff)
[blog] Add inline class on headers
Diffstat (limited to 'src/Blog.hs')
-rw-r--r--src/Blog.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blog.hs b/src/Blog.hs
index f6ed6e54f903..62e7d4575422 100644
--- a/src/Blog.hs
+++ b/src/Blog.hs
@@ -72,7 +72,7 @@ renderEntries :: Bool -> [Entry] -> Maybe Html -> Html
 renderEntries showAll entries pageLinks = [shamlet|
 $forall entry <- toDisplay
   <article>
-    <h2>
+    <h2 .inline>
       <a href=#{linkElems entry} .unstyled-link>
         #{title entry}
     <aside .date>
@@ -115,7 +115,7 @@ showLinks Nothing lang = [shamlet|
 renderEntry :: Entry -> Html
 renderEntry e@Entry{..} = [shamlet|
 <article>
-  <h2>
+  <h2 .inline>
     #{title}
   <aside .date>
     #{pack $ formatTime defaultTimeLocale "%Y-%m-%d" edate}