aboutsummaryrefslogtreecommitdiff
path: root/tmpl/terms.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/terms.html
parentac406bdbf0d4b275ed8d1c48e29d0cb69e4d1800 (diff)
add debug logging
Diffstat (limited to 'tmpl/terms.html')
-rw-r--r--tmpl/terms.html6
1 files changed, 5 insertions, 1 deletions
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>