From f808221470b607996aa1554ebd15afa26bcfabd1 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 22 Jan 2017 19:22:53 -0800 Subject: wip --- tmpl/kanji.html | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tmpl/kanji.html (limited to 'tmpl/kanji.html') diff --git a/tmpl/kanji.html b/tmpl/kanji.html new file mode 100644 index 00000000..3f6d8084 --- /dev/null +++ b/tmpl/kanji.html @@ -0,0 +1,59 @@ +{{#*inline "kanji"}} +
+
+ {{#if addable}} + + {{/if}} +
+ +
{{character}}
+ +
+ + + + + + + + + +
Kunyomi: + {{#each kunyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
Onyomi: + {{#each onyomi}} + {{.}}{{#unless @last}}, {{/unless}} + {{/each}} +
+
+ +
+ {{#each tags}} + {{name}} + {{/each}} +
+ +
+ {{#if glossary.[1]}} +
    + {{#each glossary}} +
  1. {{#multiLine}}{{.}}{{/multiLine}}
  2. + {{/each}} +
+ {{else}} +
{{#multiLine}}{{glossary.[0]}}{{/multiLine}}
+ {{/if}} +
+
+{{/inline}} + +{{#if definitions}} + {{#each definitions}} + {{#unless @first}}
{{/unless}} + {{> kanji addable=../addable root=../root}} + {{/each}} +{{else}} +

No results found

+{{/if}} -- cgit v1.2.3