aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-24 19:50:04 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-24 19:50:04 -0700
commit46a2f0e87b8467cb5efa1924a977bce2dbd7c819 (patch)
tree372476e6958acb729354c966bc4cee993bce9e4e /util/tmpl
parent8773ab991dee071a08ef851926ef7f5db06441d4 (diff)
WIP
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/kanji.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html
index 0e5c8573..d9e7ffcf 100644
--- a/util/tmpl/kanji.html
+++ b/util/tmpl/kanji.html
@@ -4,16 +4,16 @@
<div class="readings">
<dl>
{{#if kunyomi}}
- <dt>Kunyomi</dt>
+ <dt>Kunyomi:</dt>
{{#each kunyomi}}
- <dd>{{.}}</dd>
+ <dd>{{.}}{{#unless @last}}, {{/unless}}</dd>
{{/each}}
{{/if}}
{{#if onyomi}}
- <dt>Onyomi</dt>
+ <dt>Onyomi:</dt>
{{#each onyomi}}
- <dd>{{.}}</dd>
+ <dd>{{.}}{{#unless @last}}, {{/unless}}</dd>
{{/each}}
{{/if}}
</dl>