Changing settings to use the new @blog global

This commit is contained in:
Hannah Wolfe
2013-09-02 18:29:11 +01:00
parent 24f12d1656
commit dc89697827
3 changed files with 13 additions and 12 deletions

View File

@ -9,11 +9,11 @@
{{! Each post has the blog logo at the top, with a link back to the home page }}
<header class="post-header">
<a id="blog-logo" href="{{settings.url}}">
{{#if settings.logo}}
<img src="{{settings.logo}}" alt="Blog Logo" />
<a id="blog-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
<img src="{{@blog.logo}}" alt="Blog Logo" />
{{else}}
{{settings.title}}
{{@blog.title}}
{{/if}}
</a>
</header>
@ -41,8 +41,8 @@
<section class="share">
<h4>Share this post</h4>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{settings.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{settings.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{@blog.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{@blog.url}}/{{slug}}"><span class="hidden">Twitter</span></a>
<a class="icon-google-plus" href="#"><span class="hidden">Twitter</span></a>
</section>