{% ckan_extends %} {% block primary_content_inner %} {{ super() }} {% if pkg.state == 'active' %} {% snippet 'package/snippets/citations_panel.html', pkg_dict=pkg %} {% endif %} {% endblock %}