Ghost theme (MIT license)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{{!< default}}
|
|
|
|
{{! The tag above means - insert everything in this file into the {body} of the default.hbs template }}
|
|
|
|
|
|
|
|
{{! Everything inside the #author tags pulls data from the author }}
|
|
|
|
{{#author}}
|
|
|
|
<nav class="main-nav">
|
|
|
|
<a href="{{@blog.url}}" class="header-back-btn js-bg-check left">
|
|
|
|
<i class="fa fa-chevron-left"></i> Home
|
|
|
|
</a>
|
|
|
|
{{> "menu-activator-icon"}}
|
|
|
|
</nav>
|
|
|
|
<header class="main-header js-blog-bg-image {{#if cover_image}}" style="background-image: url({{cover_image}}){{else}}no-cover{{/if}}">
|
|
|
|
<div class="main-header-content">
|
|
|
|
{{#if profile_image}}
|
|
|
|
<div class="author-logo-container">
|
|
|
|
<img src="{{img_url profile_image}}" alt="{{name}}">
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<h1 class="author-title js-bg-check">
|
|
|
|
<span>{{name}}</span>
|
|
|
|
</h1>
|
|
|
|
{{#if bio}}
|
|
|
|
<h2 class="author-bio js-bg-check">
|
|
|
|
<span>{{bio}}</span>
|
|
|
|
</h2>
|
|
|
|
{{/if}}
|
|
|
|
<span class="author-stats js-bg-check">
|
|
|
|
{{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}} <a href="{{url}}rss/"><i class="fa fa-rss"></i></a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
{{/author}}
|
|
|
|
|
|
|
|
<main class="content author-template" role="main">
|
|
|
|
{{! The tag below includes the post loop - partials/loop.hbs }}
|
|
|
|
{{> "loop"}}
|
|
|
|
</main>
|