diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-01-09 19:42:54 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-01-09 19:42:54 -0800 |
commit | 40838790d5697a418035f753711a54f2f19547e3 (patch) | |
tree | bd5378c4d0dd57c58119204c7b4bc58799fa3239 /tmpl | |
parent | f1c826e2d349c550121125346290717a81325ed1 (diff) |
WIP
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/kanji-link.html | 1 | ||||
-rw-r--r-- | tmpl/kanji-list.html | 4 | ||||
-rw-r--r-- | tmpl/term-list.html | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/tmpl/kanji-link.html b/tmpl/kanji-link.html deleted file mode 100644 index f4f8dc69..00000000 --- a/tmpl/kanji-link.html +++ /dev/null @@ -1 +0,0 @@ -<a href="#" class="kanji-link">{{kanji}}</a> diff --git a/tmpl/kanji-list.html b/tmpl/kanji-list.html index 9c0c8a60..3f6d8084 100644 --- a/tmpl/kanji-list.html +++ b/tmpl/kanji-list.html @@ -39,11 +39,11 @@ {{#if glossary.[1]}} <ol "kanji-glossary-group"> {{#each glossary}} - <li><span class="kanji-glossary-item">{{.}}</span></li> + <li><span class="kanji-glossary-item">{{#multiLine}}{{.}}{{/multiLine}}</span></li> {{/each}} </ol> {{else}} - <div class="kanji-glossary-group kanji-glossary-item">{{glossary.[0]}}</div> + <div class="kanji-glossary-group kanji-glossary-item">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div> {{/if}} </div> </div> diff --git a/tmpl/term-list.html b/tmpl/term-list.html index 3c85b547..aae365c7 100644 --- a/tmpl/term-list.html +++ b/tmpl/term-list.html @@ -9,11 +9,11 @@ {{#if glossary.[1]}} <ul class="term-glossary-group"> {{#each glossary}} - <li><span class="term-glossary-item">{{.}}</span></li> + <li><span class="term-glossary-item">{{#multiLine}}{{.}}{{/multiLine}}</span></li> {{/each}} </ul> {{else}} - <div class="term-glossary-group term-glossary-item">{{glossary.[0]}}</div> + <div class="term-glossary-group term-glossary-item">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div> {{/if}} {{/inline}} |