Apply symbolize filter to template

This commit is contained in:
sol HYUN 2017-03-23 17:53:11 +09:00
parent 926382172a
commit 505106d881

View File

@ -16,7 +16,7 @@
{% for section_key, section in document.data|items %} {% for section_key, section in document.data|items %}
{% if section_key %} {% if section_key %}
<h2 id="{{ section_key }}" class="coredocs-section-title">{{ section_key }} <a href="#{{ section_key }}"><i class="fa fa-link" aria-hidden="true"></i> <h2 id="{{ section_key }}" class="coredocs-section-title">{{ section_key | symbolize }} <a href="#{{ section_key }}"><i class="fa fa-link" aria-hidden="true"></i>
</a></h2> </a></h2>
{% endif %} {% endif %}