私は流星の初心者で、シンプルなウェブサイトを構築しようとしています。これで、簡単に jade でヘッダー、コンテナーを定義できます。
!!!5
html
head
title #{title} - helloworld
link(rel='stylesheet', href='/stylesheets/style.css')
body
header
h1 helloworld
.container
.main-content
block content
.sidebar
block sidebar
footer
p Running on node with Express, Jade and Stylus
しかし流星では、次のようにします。
head
title helloworld
body
{{> hello}}
template(name="hello")
p this is helloworld
さて、私の質問は、流星でコンテナ、メインコンテンツをどのように定義できるかです??
前もって感謝します!!!!