diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-12-22 18:50:58 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-12-22 18:50:58 -0800 |
commit | 39fa11f72bae62985ee5b27103e5959dab30316c (patch) | |
tree | e7fe89d18a2b0bfa892ede044d7e6dcc076bbf7b /tmpl/kanji.html | |
parent | 5710dc55a73491a0be2259fbd21874bddda54877 (diff) | |
parent | 9d21f8a456530c29c7c03db4896562a4902f6f8a (diff) |
Merge branch 'dev'
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r-- | tmpl/kanji.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html index daa825be..e22dd660 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -30,15 +30,21 @@ <div class="kanji-tags"> {{#each tags}} - <span class="tag tag-{{class}}" title="{{desc}}">{{name}}</span> + <span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span> {{/each}} </div> <div class="kanji-glossary"> + {{#if glossary.[1]}} <ol> {{#each glossary}} <li><span>{{.}}</span></li> {{/each}} </ol> + {{else}} + <p> + {{glossary.[0]}} + </p> + {{/if}} </div> </div> |