-
Notifications
You must be signed in to change notification settings - Fork 14
/
author.hbs
31 lines (30 loc) · 1.06 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
{{!< default}}
<section class="archives">
<a class="nav nav--black" href="{{@blog.url}}">
<i class="fa fa-lg fa-arrow-left"></i>
<span>Back to Posts</span>
</a>
{{#author}}
<header class="archives__header">
<span>{{name}}</span>
</header>
{{#get "posts" limit="all" filter="author:{{slug}}"}}
<div class="section-padding archives__container">
{{#foreach posts}}
<article class="card">
<a class="card__link" href="{{url}}">
<div class="card__img">
<figure class="absolute-bg wow" style="background-image: url('{{img_url feature_image absolute="true"}}');"></figure>
</div>
<div class="card__container">
<h2 class="card__header">{{title}}</h2>
<p class="card__count" datetime="{{date format="YYYY-MM-DD"}}">{{date format="MMM D, YYYY"}}</p>
<span class="card__more">Read Post</span>
</div>
</a>
</article>
{{/foreach}}
</div>
{{/get}}
{{/author}}
</section>