From d9d16613f8aa129de5dc1edb38d66f69d2983091 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 17 Sep 2017 19:16:08 -0700 Subject: wip --- tmpl/kanji.html | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) (limited to 'tmpl/kanji.html') diff --git a/tmpl/kanji.html b/tmpl/kanji.html index ad6dcb26..57b6b7dc 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -13,11 +13,21 @@
{{character}}
+ {{#if frequencies}} +
+ {{#each frequencies}} + {{dictionary}}:{{frequency}} + {{/each}} +
+ {{/if}} + + {{#if tags}}
{{#each tags}} {{name}} {{/each}}
+ {{/if}} @@ -48,15 +58,18 @@ {{/if}} @@ -64,15 +77,18 @@
-
- {{#if stats}} + {{#if stats}} + {{#each stats}} -
{{@key}}: {{.}}
+ + + + {{/each}} - {{else}} - No statistical data found - {{/if}} - +
{{#if notes}}{{notes}}{{else}}{{name}}{{/if}}{{value}}
+ {{else}} + No statistical data found + {{/if}}
-
- {{#if indices}} + {{#if indices}} + {{#each indices}} -
{{@key}}: {{.}}
+ + + + {{/each}} - {{else}} - No index data found - {{/if}} - +
{{#if notes}}{{notes}}{{else}}{{name}}{{/if}}{{value}}
+ {{else}} + No index data found + {{/if}}
-- cgit v1.2.3