From 5de9ac17122002fa8727fd089679394f54af442f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 23 May 2017 21:27:20 -0700 Subject: add debug logging --- tmpl/kanji.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tmpl/kanji.html') 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 @@
{{#multiLine}}{{glossary.[0]}}{{/multiLine}}
{{/if}} + + {{#if debug}} +
{{#dumpObject}}{{{.}}}{{/dumpObject}}
+ {{/if}} {{/inline}} {{#if definitions}} {{#each definitions}} {{#unless @first}}
{{/unless}} -{{> kanji addable=../addable source=../source root=../root}} +{{> kanji debug=../debug addable=../addable source=../source root=../root}} {{/each}} {{else}}

No results found.

-- cgit v1.2.3