pongo2 as template engine
This commit is contained in:
17
example/templates/base_multipart.html
Normal file
17
example/templates/base_multipart.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<div id="content">
|
||||
|
||||
{% if Data.bild %}
|
||||
<img src="{{ Data.bild }}" id="dataImg">
|
||||
{% endif %}
|
||||
|
||||
{{ BodyParts.0 }}
|
||||
|
||||
{% if BodyParts.1 %}
|
||||
<div class="info">{{ BodyParts.1 }}</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user