27 lines
837 B
HTML
27 lines
837 B
HTML
<article class="{{ content.css_classes }} mode-{{ mode }}">
|
|
|
|
{% if self.header()|trim %}
|
|
<header>
|
|
{% block header %}{% endblock %}
|
|
</header>
|
|
{% endif %}
|
|
|
|
<div class="content">
|
|
{% block content %}
|
|
<p>This is the base template for all renderables. You probably want to create one of these:</p>
|
|
<ul>
|
|
{% for template_candidate in content.template_candidates(mode=mode, format=format) %}
|
|
<li><code>{{ template_candidate }}</code></li>
|
|
{% endfor %}
|
|
</ul>
|
|
<p>You might also want this template to extend one of the more generic ones in this list.</p>
|
|
{% endblock %}
|
|
</div>
|
|
|
|
{% if self.footer()|trim %}
|
|
<footer>
|
|
{% block footer %}{% endblock %}
|
|
</footer>
|
|
{% endif %}
|
|
</article>
|