summaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-05-23 21:27:20 -0700
committerAlex Yatskov <alex@foosoft.net>2017-05-23 21:27:20 -0700
commit5de9ac17122002fa8727fd089679394f54af442f (patch)
tree833fecc8b7de8e5f4d476020eeff024abace1037 /tmpl/kanji.html
parentac406bdbf0d4b275ed8d1c48e29d0cb69e4d1800 (diff)
add debug logging
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index acd79036..a2f78aff 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -50,13 +50,17 @@
<div class="glossary-item">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div>
{{/if}}
</div>
+
+ {{#if debug}}
+ <pre>{{#dumpObject}}{{{.}}}{{/dumpObject}}</pre>
+ {{/if}}
</div>
{{/inline}}
{{#if definitions}}
{{#each definitions}}
{{#unless @first}}<hr>{{/unless}}
-{{> kanji addable=../addable source=../source root=../root}}
+{{> kanji debug=../debug addable=../addable source=../source root=../root}}
{{/each}}
{{else}}
<p>No results found.</p>