b234294540
* Add stroke-count definition * Update options * Update documentation * Add helper
15 lines
428 B
Handlebars
15 lines
428 B
Handlebars
{{#*inline "stroke-count"}}
|
|
{{~#scope~}}
|
|
{{~#set "found" false}}{{/set~}}
|
|
{{~#each definition.stats.misc~}}
|
|
{{~#if (op "===" name "strokes")~}}
|
|
{{~#set "found" true}}{{/set~}}
|
|
Stroke count: {{value}}
|
|
{{~/if~}}
|
|
{{~/each~}}
|
|
{{~#if (op "!" (get "found"))~}}
|
|
Stroke count: Unknown
|
|
{{~/if~}}
|
|
{{~/scope~}}
|
|
{{/inline}}
|