2024-10-22 15:02:22 +00:00
|
|
|
{% if config.DEBUG %}<!-- template begins: {{ self._TemplateReference__context.name }} -->{% endif %}
|
2024-04-12 19:22:00 +00:00
|
|
|
<article class="{{ content.css_classes }} mode-{{ mode }}">
|
2024-06-03 15:50:44 +00:00
|
|
|
|
|
|
|
{% if self.header()|trim %}
|
|
|
|
<header>
|
2024-10-26 18:31:31 +00:00
|
|
|
{% block header %}
|
|
|
|
{% if self.meta_header() %}
|
|
|
|
<div class="meta">
|
|
|
|
{% block meta_header %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2024-06-03 15:50:44 +00:00
|
|
|
</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>
|
2024-10-22 15:02:22 +00:00
|
|
|
{% block footer %}
|
2024-10-26 18:31:31 +00:00
|
|
|
{% if self.meta_footer()|trim %}
|
2024-10-22 15:02:22 +00:00
|
|
|
<div class="meta">
|
2024-10-26 18:31:31 +00:00
|
|
|
{% block meta_footer %}{% endblock %}
|
2024-10-22 15:02:22 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2024-06-03 15:50:44 +00:00
|
|
|
</footer>
|
|
|
|
{% endif %}
|
2024-04-12 19:22:00 +00:00
|
|
|
</article>
|
2024-10-22 15:02:22 +00:00
|
|
|
{% if config.DEBUG %}<!-- template ends: {{ self._TemplateReference__context.name }} -->{% endif %}
|