{% extends 'base.html.twig' %} {% block title %}漢字索引{% endblock %} {% block body %}

{{ block('title') }}

検索
{% for char in characters %} {% if char.codepoint ends with '0' %}
{% endif %}
{#{% if char.jiten_href != null %} {{- char.str -}} {% else %}#} {{- char.str -}} {#{% endif %}#}
{% if char.lists.unicode is not defined %} {{ char.codepoint }} {% else %} {{ char.codepoint }} {% endif %}
{% if char.codepoint ends with 'f' %}
{% endif %} {% endfor %}
{% set learnt_kanken = char_info.lists.unicode|intersect_key(char_info.lists.kanken)|length %} {% set total_kanken = char_info.lists.kanken|length %} Kanken {{ learnt_kanken }}/{{ total_kanken }} ({{ ((learnt_kanken/total_kanken) * 100)|number_format(2) }}%) | {% set sn_kanken = char_info.lists.sn|intersect_key(char_info.lists.kanken)|length %} {{ sn_kanken }}/{{ total_kanken }} ({{ ((sn_kanken/total_kanken) * 100)|number_format(2) }}%)
{% endblock %}