From 240aca8415be9b27f2b0f68509f7068488d42444 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 28 Apr 2016 20:32:04 -0700 Subject: Kanji page cleanup --- util/tmpl/kanji.html | 59 ++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 29 deletions(-) (limited to 'util') diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html index b52f29f5..c1883b19 100644 --- a/util/tmpl/kanji.html +++ b/util/tmpl/kanji.html @@ -1,33 +1,34 @@ -
-
{{character}}
+
+
{{character}}
+
+
+ {{#if glossary}} +
Meanings
+
+ {{#each glossary}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+ {{/if}} -
- {{#if glossary}} -
Meanings
-
- {{#each glossary}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} + {{#if kunyomi}} +
Kunyomi
+
+ {{#each kunyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+ {{/if}} - {{#if kunyomi}} -
Kunyomi
-
- {{#each kunyomi}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} - - {{#if onyomi}} -
Onyomi
-
- {{#each onyomi}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} -
+ {{#if onyomi}} +
Onyomi
+
+ {{#each onyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+ {{/if}} +
+
-- cgit v1.2.3