Fixed issue with " ," rendered instead of ", "

This commit is contained in:
Willem Rein Oudshoorn 2013-04-01 20:22:39 +02:00
parent 9bc2e55d58
commit 67b39fff12
2 changed files with 6 additions and 6 deletions

View file

@ -17,8 +17,8 @@
<div id="tagsoup">
<p>This blog covers
{foreach $tag in $tags}
<a href="{$config.domain}/tag/{$tag}.html">{$tag}</a>
{if not isLast($tag)}, {/if}
<a href="{$config.domain}/tag/{$tag}.html">{$tag}</a>{nil}
{if not isLast($tag)},{sp}{/if}
{/foreach}
</div>
{/if}
@ -26,8 +26,8 @@
<div id="monthsoup">
<p>View posts from
{foreach $month in $months}
<a href="{$config.domain}/date/{$month}.html">{$month}</a>
{if not isLast($month)}, {/if}
<a href="{$config.domain}/date/{$month}.html">{$month}</a>{nil}
{if not isLast($month)},{sp}{/if}
{/foreach}
</div>
{/if}

View file

@ -5,8 +5,8 @@
<h1 class="title">{$post.title}</h1>{\n}
<div class="tags">{\n}
Tagged as {foreach $tag in $post.tags}
<a href="../tag/{$tag}.html">{$tag}</a>
{if not isLast($tag)}, {/if}
<a href="../tag/{$tag}.html">{$tag}</a>{nil}
{if not isLast($tag)},{sp}{/if}
{/foreach}
</div>{\n}
<div class="date">{\n}