This commit is contained in:
Alex Yatskov 2016-05-09 19:23:40 -07:00
parent 8438a1fe32
commit 84747e5502
3 changed files with 6 additions and 6 deletions

View File

@ -50,13 +50,13 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
},"8":function(container,depth0,helpers,partials,data) {
var stack1;
return " <dt>Kunyomi</dt>\n <dd class=\"kanji-reading\">\n"
return " <dt>Kun'yomi</dt>\n <dd class=\"kanji-reading\">\n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.kunyomi : depth0),{"name":"each","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </dd>\n";
},"10":function(container,depth0,helpers,partials,data) {
var stack1;
return " <dt>Onyomi</dt>\n <dd class=\"kanji-reading\">\n"
return " <dt>On'yomi</dt>\n <dd class=\"kanji-reading\">\n"
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.onyomi : depth0),{"name":"each","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ " </dd>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) {

View File

@ -130,8 +130,8 @@ body {
}
.kanji-info dt {
color: #31708f;
font-weight: bold;
background-color: #eee;
font-weight: bold;
}
.kanji-info dd {

View File

@ -21,7 +21,7 @@
{{/if}}
{{#if kunyomi}}
<dt>Kunyomi</dt>
<dt>Kun'yomi</dt>
<dd class="kanji-reading">
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
@ -30,7 +30,7 @@
{{/if}}
{{#if onyomi}}
<dt>Onyomi</dt>
<dt>On'yomi</dt>
<dd class="kanji-reading">
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}