-
Notifications
You must be signed in to change notification settings - Fork 8
/
template.cirru
34 lines (31 loc) · 1.04 KB
/
template.cirru
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
var
stir $ require :stir-template
var
({}~ html head title body meta script link div a span) stir
var
line $ \ (text) (div ({} (:className :line)) text)
= module.exports $ \ (data)
return $ stir.render
stir.doctype
html null
head null
title null ":Talk Message Forms"
meta $ object (:charset :utf-8)
link $ object (:rel :icon)
:href :http://tp4.sinaimg.cn/5592259015/180/5725970590/1
cond (not data.dev)
link $ {} (:rel :stylesheet)
:href data.style
, undefined
script $ object (:src data.vendor) (:defer true)
script $ object (:src data.main) (:defer true)
body null
div ({} (:class :intro))
div ({} (:class :title)) ":The Message Structure and Style of jianliao.com."
div null
span null ":Read more at "
a
{} (:href :http://github.com/teambition/talk-message-forms)
, :github.com/teambition/talk-message-forms
span null :.
div ({} (:id :example))