Merge pull request #151 from drgomesp/section-grouping

Fixed condition to display resource url (fixes #146)
This commit is contained in:
William Durand 2013-03-20 11:05:27 -07:00
commit 573d564e9a

View File

@ -11,8 +11,7 @@
<div class="heading"> <div class="heading">
{% if section == '_others' and resource != 'others' %} {% if section == '_others' and resource != 'others' %}
<h2>{{ resource }}</h2> <h2>{{ resource }}</h2>
{% endif %} {% elseif resource != 'others' %}
{% if resource != 'others' %}
<h2>{{ resource }}</h2> <h2>{{ resource }}</h2>
{% endif %} {% endif %}
</div> </div>