diff options
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/kanji.html | 6 | ||||
-rw-r--r-- | tmpl/terms.html | 6 |
2 files changed, 10 insertions, 2 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> diff --git a/tmpl/terms.html b/tmpl/terms.html index dc50efe2..80735974 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -59,13 +59,17 @@ {{> definition}} {{/if}} </div> + + {{#if debug}} + <pre>{{#dumpObject}}{{{.}}}{{/dumpObject}}</pre> + {{/if}} </div> {{/inline}} {{#if definitions}} {{#each definitions}} {{#unless @first}}<hr>{{/unless}} -{{> term grouped=../grouped addable=../addable playback=../playback}} +{{> term debug=../debug grouped=../grouped addable=../addable playback=../playback}} {{/each}} {{else}} <p>No results found.</p> |