Welcome to mirror list, hosted at ThFree Co, Russian Federation.

author.hbs - github.com/roryg/ghostwriter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0dabd228555cbd1aed61f8f3e4f98a4a858b458c (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
{{!< default}}

<div class="container">
    <section class="author-profile">
        {{#author}}
            {{#if image}}
                <img class="author-avatar" src="{{image}}" width="80" height="80" alt="{{name}}">
            {{/if}}

            <h1 class="author-name page-title">{{name}}</h1>

            <div class="author-meta">
                <span><i class="fa fa-bar-chart-o"></i> {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}</span>
                {{#if location}}<span><i class="fa fa-map-marker"></i>{{location}}</span>{{/if}}
                {{#if website}}<span><i class="fa fa-link"></i><a href="{{website}}">{{website}}</a></span>{{/if}}
                <span><i class="fa fa-rss-square"></i><a href="{{url}}rss/">{{name}}</a></span>
            </div>

            {{#if bio}}
                <p class="author-bio">{{bio}}</p>
            {{/if}}
        {{/author}}
    </section>

    <ol class="post-list">
        {{#foreach posts}}
            <li class="post-stub {{post_class}}" >
                <a class="js-ajax-link"  title="{{title}} | {{@blog.title}}" href="{{url}}">
                    <h4 class="post-stub-title">{{title}}</h4>

                    <time class="post-stub-date" datetime="{{published_at}}">Published {{date format="MMMM Do YYYY"}}</time>

                    {{#if featured}}
                        <span class="post-stub-tag">Featured</span>
                    {{/if}}
                </a>
            </li>
        {{/foreach}}
    </ol>

    <div class="post-navigation">
        {{pagination}}
    </div>
</div>