From 29135ff84ff51dfdbf271490bc53138e306e75d8 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 7 Aug 2016 19:56:50 -0700 Subject: Updating kanji display --- tmpl/kanji.html | 58 ++++++++++++++++++++++++++++++--------------------------- tmpl/term.html | 4 ---- 2 files changed, 31 insertions(+), 31 deletions(-) (limited to 'tmpl') diff --git a/tmpl/kanji.html b/tmpl/kanji.html index 3e148aae..0a0cfe11 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -9,34 +9,38 @@
{{character}}
-
-
- {{#if glossary}} -
Meanings
-
- {{#each glossary}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} +
+ + + + + + + + + +
Kunyomi: + {{#each kunyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
Onyomi: + {{#each onyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+
- {{#if kunyomi}} -
Kun'yomi
-
- {{#each kunyomi}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} +
+ {{#each tags}} + {{name}} + {{/each}} +
- {{#if onyomi}} -
On'yomi
-
- {{#each onyomi}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} -
+
+
    + {{#each glossary}} +
  1. {{.}}
  2. + {{/each}} +
diff --git a/tmpl/term.html b/tmpl/term.html index 620b5ace..ca96ab24 100644 --- a/tmpl/term.html +++ b/tmpl/term.html @@ -17,21 +17,17 @@
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}
{{/if}} - {{#if rules}}
{{#each rules}} {{.}} {{#unless @last}}«{{/unless}} {{/each}}
- {{/if}} - {{#if tags}}
{{#each tags}} {{name}} {{/each}}
- {{/if}}
    -- cgit v1.2.3