better format title
This commit is contained in:
parent
d92feaf870
commit
b793cf2100
|
@ -0,0 +1,5 @@
|
||||||
|
.post {
|
||||||
|
width: 800px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
|
@ -2,4 +2,9 @@ import Widget from require "lapis.html"
|
||||||
|
|
||||||
class Post extends Widget
|
class Post extends Widget
|
||||||
content: =>
|
content: =>
|
||||||
|
link rel: "stylesheet", href: "/static/css/blog/post.css"
|
||||||
|
|
||||||
|
center ->
|
||||||
|
h1 @title
|
||||||
|
div class: "post", ->
|
||||||
raw @doc
|
raw @doc
|
||||||
|
|
Loading…
Reference in New Issue