mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-23 03:57:38 +00:00
Simplify author link
no issue
This commit is contained in:
parent
a60cdab266
commit
7dfe3f4a0d
@ -14,7 +14,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<footer class="post-meta">
|
<footer class="post-meta">
|
||||||
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />{{/if}}
|
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />{{/if}}
|
||||||
<a href="{{@blog.url}}/author/{{author.slug}}">{{author.name}}</a>
|
{{author}}
|
||||||
{{tags prefix=" on "}}
|
{{tags prefix=" on "}}
|
||||||
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
|
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
|
||||||
</footer>
|
</footer>
|
||||||
|
2
post.hbs
2
post.hbs
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
{{#if image}}
|
{{#if image}}
|
||||||
<figure class="author-image">
|
<figure class="author-image">
|
||||||
<A class="img" href="{{url}}" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></a>
|
<a class="img" href="{{url}}" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></a>
|
||||||
</figure>
|
</figure>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user