From f39323126dd9fbd960f05344a75285d4915b1919 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 18 Mar 2017 09:48:53 -0700 Subject: cleanup --- tmpl/terms.html | 72 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'tmpl/terms.html') diff --git a/tmpl/terms.html b/tmpl/terms.html index 22209f9b..fa32cea1 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -1,71 +1,71 @@ {{#*inline "definition"}} - {{#if tags}} -
- {{#each tags}} - {{name}} - {{/each}} -
- {{/if}} - {{#if glossary.[1]}} - - {{else}} -
{{#multiLine}}{{glossary.[0]}}{{/multiLine}}
- {{/if}} +{{#if tags}} +
+ {{#each tags}} + {{name}} + {{/each}} +
+{{/if}} +{{#if glossary.[1]}} + +{{else}} +
{{#multiLine}}{{glossary.[0]}}{{/multiLine}}
+{{/if}} {{/inline}} {{#*inline "term"}}
{{#if addable}} - - + + {{/if}} {{#if playback}} - + {{/if}}
{{#if reading}} -
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}{{reading}}
+
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}{{reading}}
{{else}} -
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}
+
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}
{{/if}} {{#if reasons}} -
- {{#each reasons}} - {{.}} {{#unless @last}}«{{/unless}} - {{/each}} -
+
+ {{#each reasons}} + {{.}} {{#unless @last}}«{{/unless}} + {{/each}} +
{{/if}}
- {{#if grouped}} + {{#if grouped}} {{#if definitions.[1]}}
    {{#each definitions}} -
  1. {{> definition}}
  2. +
  3. {{> definition}}
  4. {{/each}}
{{else}} - {{> definition definitions.[0]}} + {{> definition definitions.[0]}} {{/if}} - {{else}} + {{else}} {{> definition}} - {{/if}} + {{/if}}
{{/inline}} {{#if definitions}} - {{#each definitions}} - {{#unless @first}}
{{/unless}} - {{> term grouped=../grouped addable=../addable playback=../playback}} - {{/each}} +{{#each definitions}} +{{#unless @first}}
{{/unless}} +{{> term grouped=../grouped addable=../addable playback=../playback}} +{{/each}} {{else}} -

No results found.

+

No results found.

{{/if}} -- cgit v1.2.3