-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtag.hbs
executable file
·70 lines (62 loc) · 2.66 KB
/
tag.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
{{! The main content area on the homepage }}
<section class="jumbotron">
<div class="container">
<div class="row ">
<div class="col-lg-12">
<h3 id="tag-search"></h3>
</div>
</div>
</div>
</section>
<section id="post-container" role="main">
{{! Each post will be output using this markup }}
{{#foreach posts}}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<div class="container">
<div class="row">
<aside class="col-sm-2 hidden-xs">
<ul>
<li class="side-header">Published</li>
<li class="text-muted"><time itemprop="datePublished" datetime="{{date format='YYYY-MM-DD'}}">{{date format='DD MMM YYYY'}}</time></li>
<li class="side-header" class="text-muted">Tags</li>
{{#foreach tags}}
<li class="text-muted"><a href="{{url}}">{{name}}</a></li>
{{/foreach}}
</ul>
</aside>
<div class="col-sm-8">
<header>
<h1 itemprop="name headline"><a href="{{url}}">{{{title}}}</a></h1>
</header>
<section class="visible-xs-block mobile-side">
<p>
<time datetime="{{date format='YYYY-MM-DD'}}">{{date format='DD MMM YYYY'}}</time>
<span class="text-muted">
{{tags separator=" / "}}
</span>
</p>
</section>
<section itemprop="articleBody text">
<p>{{excerpt}}…</p>
</section>
<footer>
<p>
<a href="{{url}}">Read More</a>
</p>
<div itemprop="author" itemscope itemtype="http://schema.org/Person" class="hidden">
<span rel="author" itemprop="url name">Max Holland</span>
</div>
</footer>
</div>
</div>
</div>
</article>
{{/foreach}}
{{!! After all the posts, we have the previous/next pagination links }}
<div class="hidden">
{{pagination}}
</div>
</section>