From 6908d9e7e345f46e2b4c635fbfe1fbed924ab5bd Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 24 Apr 2016 19:23:13 -0700 Subject: WIP --- util/tmpl/term.html | 52 +++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'util/tmpl/term.html') diff --git a/util/tmpl/term.html b/util/tmpl/term.html index 054f7510..00a9d156 100644 --- a/util/tmpl/term.html +++ b/util/tmpl/term.html @@ -1,29 +1,31 @@ -{{#if reading}} -
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}{{reading}}
-{{else}} -
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}
-{{/if}} +
+ {{#if reading}} +
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}{{reading}}
+ {{else}} +
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}
+ {{/if}} -{{#if rules}} -
- {{#each rules}} - {{.}} {{#unless @last}}«{{/unless}} - {{/each}} -
-{{/if}} - -{{#if tags}} -
- {{#each tags}} - {{name}} - {{/each}} -
-{{/if}} + {{#if rules}} +
+ {{#each rules}} + {{.}} {{#unless @last}}«{{/unless}} + {{/each}} +
+ {{/if}} -
-
    - {{#each glossary}} -
  1. {{.}}
  2. + {{#if tags}} +
    + {{#each tags}} + {{name}} {{/each}} -
+
+ {{/if}} + +
+
    + {{#each glossary}} +
  1. {{.}}
  2. + {{/each}} +
+
-- cgit v1.2.3