diff options
author | "Vincent Ambo ext:(%22) <tazjin@gmail.com> | 2013-05-05T18·16+0200 |
---|---|---|
committer | "Vincent Ambo ext:(%22) <tazjin@gmail.com> | 2013-05-05T18·16+0200 |
commit | 11a51f6abdef96a9c8e49ee7bb23e96aadb55276 (patch) | |
tree | 1a536f8ccdb7db9c9802dba8a1734159c7caf7a3 | |
parent | 514d2b277715392549affb8d0d9cc699242b0172 (diff) |
* fixed comments and footer in Bootstrap
-rw-r--r-- | src/Blog.hs | 53 |
1 files changed, 28 insertions, 25 deletions
diff --git a/src/Blog.hs b/src/Blog.hs index 5919fb8bfc32..8a7d49b9218a 100644 --- a/src/Blog.hs +++ b/src/Blog.hs @@ -71,23 +71,21 @@ $doctype 5 <link rel="alternate" type="application/rss+xml" title="RSS-Feed" href=#{rssUrl}> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <body> - <div .container .header> - <div .row> - <div .span12 .blogtitle> - <a class="btitle" href=#{append "/" (show' lang)}>#{blogTitle lang empty} - <div .row> - <br> - <div .span6> - <span .contacts #cosx>^{contactInfo} - <div .span6> - <span .righttext>^{preEscapedToHtml $ rightText lang} + <div .header> + <div .container > + <div .row> + <div .span12 .blogtitle> + <a class="btitle" href=#{append "/" (show' lang)}>#{blogTitle lang empty} + <div .row> + <br> + <div .span6> + <span .contacts #cosx>^{contactInfo} + <div .span6> + <span .righttext>^{preEscapedToHtml $ rightText lang} <div .container> ^{body} - <div .container> - <footer> - ^{showFooter lang $ pack version} - <div class="centerbox"> - <span style="font-size:17px;font-family:Helvetica;">ಠ_ಠ + <footer .footer> + ^{showFooter lang $ pack version} |] where rssUrl = T.concat ["/", show' lang, "/rss.xml"] @@ -100,16 +98,21 @@ $doctype 5 showFooter :: BlogLang -> Text -> Html showFooter l v = [shamlet| -<div class="rightbox" style="text-align:right;"> - Proudly made with # - <a class="link" href="http://haskell.org">Haskell - , # - <a class="link" href="http://hackage.haskell.org/package/acid-state-0.6.3">Acid-State - \ and without PHP, Java, Perl, MySQL and Python. - <p> - <a class="link" href=#{repoURL}>#{append "Version " v} - - <a class="link" href="/notice">#{noticeText l} +<div .container> + <div .row> + <div .span12 .righttext style="text-align: right;margin-right:-200px"> + Proudly made with # + <a class="link" href="http://haskell.org">Haskell + , # + <a class="link" href="http://hackage.haskell.org/package/acid-state-0.6.3">Acid-State + \ and without PHP, Java, Perl, MySQL and Python. + <p> + <a class="link" href=#{repoURL}>#{append "Version " v} + + <a class="link" href="/notice">#{noticeText l} + <div .row .text-center> + <div .span12> + <span style="font-size:13px;font-family:Helvetica;">ಠ_ಠ |] isEntryMarkdown :: Entry -> Bool |