Merge pull request #109 from halfdan/patch-1

Simplify author link
This commit is contained in:
Hannah Wolfe 2014-07-31 22:33:05 +01:00
commit cefc04c2b2
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
</section>
<footer class="post-meta">
{{#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 "}}
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
</footer>
@ -22,4 +22,4 @@
{{/foreach}}
{{! Previous/next page links - displayed on every page }}
{{pagination}}
{{pagination}}

View file

@ -32,7 +32,7 @@
{{#if 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>
{{/if}}