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

View File

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