2019-11-08 20:59:26 +00:00
|
|
|
{{!< default}}
|
2019-11-09 06:03:26 +00:00
|
|
|
<div>
|
|
|
|
{{> "site-header"}}
|
|
|
|
</div>
|
|
|
|
|
2019-11-08 20:59:26 +00:00
|
|
|
{{#author}}
|
|
|
|
<div class="h-64 relative">
|
|
|
|
{{> header-background background=feature_image}} {{!--Special header-image.hbs partial to generate the background image--}}
|
|
|
|
<div class="h-full opacity-50 bg-black">
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-11 17:02:59 +00:00
|
|
|
<div class="absolute bottom-0 py-6 h-full left-0 right-0">
|
|
|
|
<div class="container mx-auto px-2 sm:px-8 md:px-16 lg:px-32 xl:px-64 h-full flex flex-col justify-end items-begin">
|
2019-11-08 20:59:26 +00:00
|
|
|
<div class="my-2">
|
2019-11-09 10:33:37 +00:00
|
|
|
<p class="bg-red-700 w-auto inline-block px-2 py-1 text-white text-sm">Author</p>
|
2019-11-08 20:59:26 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex flex-row">
|
2019-11-11 17:02:59 +00:00
|
|
|
<div class="flex flex-col items-begin mr-4">
|
2019-11-08 20:59:26 +00:00
|
|
|
{{#if profile_image}}
|
|
|
|
<div class="my-2">
|
|
|
|
<img class="rounded-full h-16" src="{{profile_image}}" alt="{{name}}" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-col items-begin my-2">
|
|
|
|
<div>
|
|
|
|
<h1 class="text-white text-2xl md:text-4xl">{{name}}</h1>
|
|
|
|
</div>
|
|
|
|
<div class="text-white">
|
|
|
|
{{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}
|
|
|
|
</div>
|
|
|
|
<div class="text-white">
|
|
|
|
{{#if website}}
|
|
|
|
<span class=""><a href="{{website}}" target="_blank" rel="noopener">Website</a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if twitter}}
|
|
|
|
<span class=""><a href="{{twitter_url}}" target="_blank" rel="noopener">Twitter</a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if facebook}}
|
|
|
|
<span class=""><a href="{{facebook_url}}" target="_blank" rel="noopener">Facebook</a></span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="text-white">
|
|
|
|
{{#if bio}}
|
|
|
|
<p>{{bio}}</p>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2019-11-11 17:02:59 +00:00
|
|
|
</div>
|
2019-11-08 20:59:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/author}}
|
|
|
|
|
2019-11-09 21:10:51 +00:00
|
|
|
<div class="flex flex-wrap justify-start post-feed content w-full px-4">
|
|
|
|
{{#foreach posts}}
|
|
|
|
{{> "post-card"}}
|
|
|
|
{{/foreach}}
|
2019-11-08 20:59:26 +00:00
|
|
|
</div>
|