-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.hbs
66 lines (48 loc) · 1.82 KB
/
author.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
{{!< 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="main main-archive">
<div class="content-hold">
<div class="wrapper">
{{#author}}
<article class="post result">
<div class="inner">
<h1 class="searching">
<a href="{{url}}rss/">{{name}}</a>
</h1>
</div>
</article>
{{/author}}
{{! Each post will be output using this markup }}
{{#foreach posts}}
<article class="{{post_class}}">
<div class="post-image"><a href="{{url}}" title="{{{title}}}">{{content words="0"}}</a></div>
<div class="inner post-inner">
<h2 class="post-title entry-title"><a href="{{url}}" title="{{{title}}}">{{{title}}}</a></h2>
<ul class="meta top">
<li class="time">
<a href="{{url}}" title="{{{title}}}"><time class="post-date updated" datetime="{{date format='YYYY-MM-DD'}}">{{date format="MMMM D, YYYY"}}</time></a>
</li>
</ul>
<p>{{excerpt}}…</p>
<p><a href="{{url}}" title="{{{title}}}" class="more-link">Continue reading</a></p>
<span class="star"></span>
</div>
</article>
{{/foreach}}
</div>
</div> {{! Wrapper and content hold close}}
</section> {{! Section main archive close}}
{{!! After all the posts, we have the previous/next pagination links }}
{{pagination}}
<nav class="hidden sitenav-posts footer-posts">
<h4 class="navigation-posts-text">Most recent posts</h4>
<ul>
{{! Each post will be output using this markup }}
{{#foreach posts}}
<li><a href="{{url}}" title="{{{title}}}">{{{title}}}</a></li>
{{/foreach}}
</ul>
</nav>
</section>