xiaoluoboding / ghost-theme-kaldorei

🎨 A Simple And Elegant Ghost Theme Derive From Default Theme Casper

Home Page:http://blog.xlbd.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Writer image not show after post.

S8Cloud opened this issue · comments

commented

In previous version of the theme there will be a writer image after post content like this:

image

However in the 1.0 version,the writer image only exist in static page. It seems that the following code doesn't work.

{{#author}}
{{#if profile_image}}
<figure class="author-image">
    <a class="img" href="{{url}}" style="background-image: url({{img_url profile_image}})"><span class="hidden">{{name}}'s Picture</span></a>
</figure>
{{/if}}
{{/author}}

Ghost version 1.8, theme version 1.0

IN normal page:
image

IN static page:
image

commented

Sorry it was my problem, I used a different user without user image.