You've already forked Ghost-Theme-Casper
0.9.4
- Basic MU support
This commit is contained in:
39
author.hbs
Normal file
39
author.hbs
Normal file
@@ -0,0 +1,39 @@
|
||||
{{!< default}}
|
||||
|
||||
{{! The comment above "< default" means - insert everything in this file into
|
||||
the {body} of the default.hbs template, which contains our header/footer. }}
|
||||
|
||||
{{! Everything inside the #author tags pulls data from the author }}
|
||||
{{#author}}
|
||||
<header class="site-head" {{#if cover}}style="background-image: url({{cover}})"{{/if}}>
|
||||
<div class="vertical">
|
||||
<div class="site-head-content inner">
|
||||
<h1 class="blog-title">{{name}}</h1>
|
||||
<h2 class="blog-description">{{bio}}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{/author}}
|
||||
|
||||
{{! The main content area on the homepage }}
|
||||
<main class="content" role="main">
|
||||
|
||||
{{! Each post will be output using this markup }}
|
||||
{{#foreach posts}}
|
||||
|
||||
<article class="{{post_class}}">
|
||||
<header class="post-header">
|
||||
<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{tags prefix="on "}}</span>
|
||||
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
|
||||
</header>
|
||||
<section class="post-excerpt">
|
||||
<p>{{excerpt}}… <a class="read-more" href="{{url}}">»</a></p>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
{{/foreach}}
|
||||
|
||||
{{!! After all the posts, we have the previous/next pagination links }}
|
||||
{{pagination}}
|
||||
|
||||
</main>
|
||||
Reference in New Issue
Block a user