59 lines
1.5 KiB
HTML
59 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
{% load static %}
|
|
|
|
{% block content %}
|
|
<div class="block">
|
|
{% for block in blocks %}
|
|
{% if block.title is not None %}
|
|
<h1 class="title">{{ block.title }}</h1>
|
|
{% endif %}
|
|
<div class="columns">
|
|
{% if block.column1 is not None %}
|
|
<div class="column">
|
|
<div class="box">
|
|
{{ block.column1 }}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% if block.column2 is not None %}
|
|
<div class="column">
|
|
<div class="box">
|
|
{{ block.column2 }}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% if block.column3 is not None %}
|
|
<div class="column">
|
|
<div class="box">
|
|
{{ block.column3 }}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
<div class="columns">
|
|
{% if block.image1 is not None %}
|
|
<div class="column">
|
|
<div class="box">
|
|
<img src="{% static block.image1 %}">
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% if block.image2 is not None %}
|
|
<div class="column">
|
|
<div class="box">
|
|
<img src="{% static block.image2 %}">
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% if block.image3 is not None %}
|
|
<div class="column">
|
|
<div class="box">
|
|
<img src="{% static block.image3 %}">
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|