-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
41 lines (35 loc) · 1.19 KB
/
index.hbs
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
35
36
37
38
39
40
41
{{!< default}}
{{!> header}}
{{!> navigation}}
{{! The main content area on the homepage }}
<main class="content" role="main">
{{! Each post will be output using this markup }}
{{#foreach posts}}
<div class="row">
<div>
<div class="card grey lighten-5">
<div class="card-content black-text">
<span class="card-title"><a href="{{url}}">{{{title}}}</a></span>
{{content words="100"}}
</div>
<div class="card-action">
<a href="{{url}}">View Post</a>
<div class="time">
<time datetime="{{date format='DD-MMM-YYYY'}}">{{date format="DD MMM YYYY"}}</time>
</div>
{{#if tags}}
{{#foreach tags}}
<div class="chip">
<a href="{{url}}" title="{{name}}" class="tag-{{id}}">{{name}}</a>
<i class="material-icons">close</i>
</div>
{{/foreach}}
{{/if}}
</div>
</div>
</div>
</div>
{{/foreach}}
{{!! After all the posts, we have the previous/next pagination links }}
{{pagination}}
</main>