{% extends 'base.html' %} {% block title %} - {% trans %}Neahttadigisánit{% endtrans %} debug info {% endblock %} {% block meta_title %} {% endblock %} {% block extra_js %} {% endblock %} {# TODO: http://getbootstrap.com/2.3.2/javascript.html#collapse or http://getbootstrap.com/2.3.2/javascript.html#scrollspy #} {% block content %}
These are the templates that have been customized for this project. Documentation is encouraged, as some customizations may not be able to be covered by unittests.
To include documentation in a template, define it: {% raw %}{% block template_doc %}{% if TEMPLATE_DOC %}Blah blah blah{% endif %}{% endblock %}{% endraw %}
. Note that without the if statement, the docs will appear in the dictionary.
{{- template|render_block(template.blocks['template_doc']) -}}
{% else %}
Write some template documentation.{% endif %}