aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-27 20:00:41 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-27 20:00:41 -0700
commita9fcc0cde6a09872e038e4aa4600d5cd80a71374 (patch)
tree3bd6e00e2c8eec94218636f554db2f2663141569 /util/tmpl
parent2bdb5763780e68889b355200a60844da83d3ede7 (diff)
Switch to handlebars for templating
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/defs.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/tmpl/defs.html b/util/tmpl/defs.html
new file mode 100644
index 00000000..fe40dfe3
--- /dev/null
+++ b/util/tmpl/defs.html
@@ -0,0 +1,7 @@
+{{#each defs}}
+<div class="yomichan-def">
+ <span class="yomichan-def-expression">{{expression}}</span>
+ <span class="yomichan-def-reading">{{reading}}</span>
+ <span class="yomichan-def-glossary">{{glossary}}</span>
+</div>
+{{/each}}