better format title

This commit is contained in:
Christine Dodrill 2015-02-16 13:24:04 -08:00
parent d92feaf870
commit b793cf2100
2 changed files with 11 additions and 1 deletions

5
static/css/blog/post.css Normal file
View File

@ -0,0 +1,5 @@
.post {
width: 800px;
margin-left: auto;
margin-right: auto;
}

View File

@ -2,4 +2,9 @@ import Widget from require "lapis.html"
class Post extends Widget
content: =>
raw @doc
link rel: "stylesheet", href: "/static/css/blog/post.css"
center ->
h1 @title
div class: "post", ->
raw @doc