panel/views/index.moon

11 lines
223 B
Plaintext
Raw Normal View History

2015-01-05 21:41:19 +00:00
import Widget from require "lapis.html"
class Index extends Widget
content: =>
h1 class: "header", "Hello"
div class: "body", ->
text "Welcome to my site!"
2015-01-06 03:09:03 +00:00
2015-01-09 01:51:20 +00:00
if @name
h2 "I think you are #{@name}"