mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
- move all test files from core/test to test/ - updated all imports and other references - all code inside of core/ is then application code - tests are correctly at the root level - consistent with other repos/projects Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
23 lines
746 B
Handlebars
23 lines
746 B
Handlebars
{{!-- Everything inside the #author tags pulls data from the author --}}
|
|
{{#primary_author}}
|
|
|
|
<section class="author-card">
|
|
{{#if profile_image}}
|
|
<img class="author-profile-image" src="{{profile_image}}" alt="{{name}}" />
|
|
{{else}}
|
|
<span class="avatar-wrapper">{{> "icons/avatar"}}</span>
|
|
{{/if}}
|
|
<section class="author-card-content">
|
|
<h4 class="author-card-name"><a href="{{url}}">{{name}}</a></h4>
|
|
{{#if bio}}
|
|
<p>{{bio}}</p>
|
|
{{else}}
|
|
<p>Read <a href="{{url}}">more posts</a> by this author.</p>
|
|
{{/if}}
|
|
</section>
|
|
</section>
|
|
<div class="post-full-footer-right">
|
|
<a class="author-card-button" href="{{url}}">Read More</a>
|
|
</div>
|
|
|
|
{{/primary_author}}
|