jiten - jmdict
{% from "_macros.html" import topbtn, collapsebtn, collapseallbtn
with context %}
{% from "_search.html" import jmdict with context %}
{% include "_nav.html" %}
{{ jmdict(langs, query) }}
{% if query %}
{{ collapseallbtn() }}
{% for e, rank in results %}
{% for k in e.kanji %}
{% for c in k.elem -%}
{% if M.isideo(c) -%}
{{ c }}
{%- else -%}
{{ c }}
{%- endif %}
{%- endfor %}
{% else %}
no kanji
{% endfor %}
{% for r in e.reading %}
{{ r.elem }}
{% if loop.last %}
読み
{% endif %}
{% else %}
no readings
{% endfor %}
{% set pitch = e.pitch()|list %}
{% for p in pitch %}
{{ p }}
{% if loop.last %}
高低
{% endif %}
{% else %}
no pitch data
{% endfor %}