-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathauthor.hbs
29 lines (27 loc) · 823 Bytes
/
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
{{!< default}}
<div style="margin-top:80px">
<link rel="stylesheet" href="{{asset "css/index.css"}}">
<header>
{{#author}}
<h1 class="index-tag"><span class="index-hash">by</span> {{name}}</h1>
{{/author}}
</header>
<hr class="index-hr">
<main role="main">
<!-- This is the post loop - each post will be output using this markup -->
{{#foreach posts}}
<article class="{{post_class}}">
<div class="post-meta">
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="MM-DD"}}</time>
</div>
<div class="post-header">
<h2>
<a href="{{url}}">{{title}}</a>
</h2>
</div>
</article>
{{/foreach}}
</main>
<!-- Previous/next page links - displayed on every page -->
{{pagination}}
</div>