From acb0bc2e9e9c7be173366f4c05f477bfdaaf8a01 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 3 Mar 2017 20:25:14 -0800 Subject: style fixes --- tmpl/kanji.html | 22 +++++++++++----------- tmpl/terms.html | 24 ++++++++++++------------ 2 files changed, 23 insertions(+), 23 deletions(-) (limited to 'tmpl') diff --git a/tmpl/kanji.html b/tmpl/kanji.html index 3f6d8084..43c57aed 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -1,14 +1,14 @@ {{#*inline "kanji"}} -
-
+

+

{{#if addable}} {{/if}}
-
{{character}}
+
{{character}}
-
+
@@ -29,24 +29,24 @@
Kunyomi:
-
+
{{#each tags}} - {{name}} + {{name}} {{/each}}
-
+
{{#if glossary.[1]}} -
    +
      {{#each glossary}} -
    1. {{#multiLine}}{{.}}{{/multiLine}}
    2. +
    3. {{#multiLine}}{{.}}{{/multiLine}}
    4. {{/each}}
    {{else}} -
    {{#multiLine}}{{glossary.[0]}}{{/multiLine}}
    +
    {{#multiLine}}{{glossary.[0]}}{{/multiLine}}
    {{/if}}
-
+

{{/inline}} {{#if definitions}} diff --git a/tmpl/terms.html b/tmpl/terms.html index aae365c7..036aa465 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -1,25 +1,25 @@ {{#*inline "definition"}} {{#if tags}} -
+
{{#each tags}} - {{name}} + {{name}} {{/each}}
{{/if}} {{#if glossary.[1]}} -
    +
      {{#each glossary}} -
    • {{#multiLine}}{{.}}{{/multiLine}}
    • +
    • {{#multiLine}}{{.}}{{/multiLine}}
    • {{/each}}
    {{else}} -
    {{#multiLine}}{{glossary.[0]}}{{/multiLine}}
    +
    {{#multiLine}}{{glossary.[0]}}{{/multiLine}}
    {{/if}} {{/inline}} {{#*inline "term"}} -
    -
    +

    +

    {{#if addable}} @@ -30,20 +30,20 @@
    {{#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}}
    {{/if}} -
    +
    {{#if grouped}} {{#if definitions.[1]}}
      @@ -58,7 +58,7 @@ {{> definition}} {{/if}}
    -
    +

    {{/inline}} {{#if definitions}} -- cgit v1.2.3