Replaced {{author}} by {{primary_author}} in byline-single.hbs

refs https://github.com/TryGhost/gscan/issues/99

- single author usages will be deprecated in Ghost 2.0
- make Casper 100% compatible with Ghost 2.0
This commit is contained in:
kirrg001 2018-08-12 15:02:03 +02:00
parent 36841d4624
commit f31957bd0d
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{{!-- Everything inside the #author tags pulls data from the author --}}
{{#author}}
{{#primary_author}}
<section class="author-card">
{{#if profile_image}}
@ -20,4 +20,4 @@
<a class="author-card-button" href="{{url}}">Read More</a>
</div>
{{/author}}
{{/primary_author}}