2014-07-21 12:45:34 +00:00
|
|
|
{{!< default}}
|
2014-07-21 16:20:36 +00:00
|
|
|
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
|
2014-07-21 12:45:34 +00:00
|
|
|
|
2014-07-21 16:20:36 +00:00
|
|
|
{{! The big featured header }}
|
2014-07-21 17:07:56 +00:00
|
|
|
<header class="main-header author-head {{#if author.cover}}" style="background-image: url({{author.cover}}){{else}}no-cover{{/if}}">
|
2014-07-21 12:45:34 +00:00
|
|
|
<nav class="main-nav overlay clearfix">
|
|
|
|
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
|
|
|
|
<a class="subscribe-button icon-feed" href="{{@blog.url}}/author/{{author.slug}}/rss/">{{author.name}}</a>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<section class="author-profile inner">
|
|
|
|
{{#if author.image}}
|
|
|
|
<figure class="author-image">
|
|
|
|
<div class="img" style="background-image: url({{author.image}})"><span class="hidden">{{author.name}}'s Picture</span></div>
|
|
|
|
</figure>
|
|
|
|
{{/if}}
|
|
|
|
<h1 class="author-title">{{author.name}}</h1>
|
|
|
|
<h2 class="author-bio">{{author.bio}}</h2>
|
|
|
|
<div class="author-meta">
|
|
|
|
{{#if author.location}}<span class="author-location"><i class="icon-location"></i> {{author.location}}</span>{{/if}}
|
|
|
|
{{#if author.website}}<span class="author-link"><i class="icon-link"></i> <a href="{{author.website}}">{{author.website}}</a></span>{{/if}}
|
|
|
|
<span class="author-stats"><i class="icon-stats"></i> {{pagination.total}} posts</span>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{! The main content area on the homepage }}
|
|
|
|
<main class="content" role="main">
|
|
|
|
|
2014-07-21 16:20:36 +00:00
|
|
|
{{! The tag below includes the post loop - partials/loop.hbs }}
|
|
|
|
{{> "loop"}}
|
2014-07-21 12:45:34 +00:00
|
|
|
|
|
|
|
</main>
|