Updating {{url}} helper to working syntax

This commit is contained in:
Hannah Wolfe 2013-09-06 18:50:23 +01:00
parent 1f1e2062b7
commit 19ed4267fe

View file

@ -22,7 +22,7 @@
{{#post}}
{{! Everything below outputs content of the the post which has been published }}
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
<span class="post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format='DD MMM YYYY'}}</time> {{#if tags}}on {{tags separator=" | "}}{{/if}}</span>
<h1 class="post-title">{{title}}</h1>
@ -41,8 +41,8 @@
<section class="share">
<h4>Share this post</h4>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute}}"><span class="hidden">Twitter</span></a>
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{url absolute}}"><span class="hidden">Facebook</span></a>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"><span class="hidden">Twitter</span></a>
<a class="icon-facebook" href="http://www.facebook.com/sharer.php?u={{url absolute="true"}}"><span class="hidden">Facebook</span></a>
<a class="icon-google-plus" href="#"><span class="hidden">Google+</span></a>
</section>