mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
Style changes for the blog
This commit is contained in:
parent
115feaa219
commit
a331d3e714
@ -1,17 +1,19 @@
|
||||
<h1>#{postTitle post}
|
||||
<p #author>
|
||||
By #{postAuthor post}, #
|
||||
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post)}
|
||||
<div #blog>
|
||||
<h1>#{postTitle post}
|
||||
<p #author>
|
||||
By #{postAuthor post}, #
|
||||
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post)}
|
||||
|
||||
<article>#{postBody post}
|
||||
<article>#{postBody post}
|
||||
|
||||
<section #archive>
|
||||
<section #archive>
|
||||
|
||||
<h2>Archive
|
||||
<h2>Archive
|
||||
|
||||
<ul>
|
||||
$forall post' <- posts
|
||||
<li>
|
||||
<a href=@?{addPreview $ BlogPostR (postYear post') (postMonth post') (postSlug post')}>
|
||||
#{postTitle post'}, #
|
||||
<ul>
|
||||
$forall post' <- posts
|
||||
<li>
|
||||
<a href=@?{addPreview $ BlogPostR (postYear post') (postMonth post') (postSlug post')}>
|
||||
#{postTitle post'}
|
||||
—
|
||||
<abbr title=#{show $ postTime post}>#{dateDiff now (utctDay $ postTime post')}
|
||||
|
||||
@ -11,3 +11,9 @@
|
||||
margin-top: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
#blog {
|
||||
font-size: 120%;
|
||||
max-width: 640px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user