-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.ejs
34 lines (33 loc) · 1.01 KB
/
index.ejs
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
<% expands('layouts/body') %>
<!--
Start the "content" block: any html (until end('content') is called) will be
captured. If any assign('content') calls are encountered, the html will be
placed there.
-->
<% start('content') %>
<div class="span9">
<div class="hero-unit">
<!-- 'hero' blocks go here -->
<% assign('hero') %>
<h1>Hello, world!</h1>
<p>This is the default content for this hero unit</p>
<% assign_end('hero') %>
<!--
You don't have to use assign_end, but when you do you can put
default html between them
-->
</div>
<div class="row-fluid">
<div class="span4">
<% add_link('/news/:id', {class: "btn", title: "Previous", urlvars: {id: 20}}) %>
</div><!--/span-->
<div class="span4">
<% parse_element('elements/image', {deep: false}) %>
<% assign('image') %>
</div><!--/span-->
<div class="span4">
<% add_link('/news/:id', {class: "btn", title: "Next", urlvars: {id: 22}}) %>
</div><!--/span-->
</div><!--/row-->
</div><!--/span-->
<% end('content') %>