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

View file

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