From ba25fbfd1f6187e75bbf3aa2e36717c081f09e7c Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 17 Sep 2017 12:56:34 -0700 Subject: backwards compat --- tmpl/kanji.html | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'tmpl') diff --git a/tmpl/kanji.html b/tmpl/kanji.html index 9ab5b2a8..6cea57f9 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -53,7 +53,33 @@ {{glossary.[0]}} {{/if}} - + +
+ {{#if stats}} + {{#each stats}} +
{{@key}}: {{.}}
+ {{/each}} + {{else}} + No statistical data found + {{/if}} +
+ + + + Dictionary Indices + + + +
+ {{#if indices}} + {{#each indices}} +
{{@key}}: {{.}}
+ {{/each}} + {{else}} + No index data found + {{/if}} +
+ @@ -69,5 +95,5 @@ {{> kanji debug=../debug addable=../addable source=../source root=../root}} {{/each}} {{else}} -

No results found.

+

No results found

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