From 4ef620d74cac15bcd6b860e569a09aa561f2ba98 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 24 Apr 2016 22:06:49 -0700 Subject: Styling --- util/tmpl/kanji.html | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'util') diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html index 603872ae..b52f29f5 100644 --- a/util/tmpl/kanji.html +++ b/util/tmpl/kanji.html @@ -1,31 +1,33 @@
{{character}}
- {{#if glossary}}
+ {{#if glossary}}
Meanings
- {{#each glossary}} -
{{.}}
- {{/each}} -
- {{/if}} +
+ {{#each glossary}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+ {{/if}} - {{#if kunyomi}} -
-
Kun
- {{#each kunyomi}} -
{{.}}
- {{/each}} -
- {{/if}} + {{#if kunyomi}} +
Kunyomi
+
+ {{#each kunyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+ {{/if}} - {{#if onyomi}} -
-
On
- {{#each onyomi}} -
{{.}}
- {{/each}} + {{#if onyomi}} +
Onyomi
+
+ {{#each onyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+ {{/if}}
- {{/if}}
-- cgit v1.2.3