neptune/core/templates/index.html

49 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2022-07-21 12:45:28 +00:00
{% extends "base.html" %}
{% load static %}
2022-07-21 12:45:28 +00:00
{% block content %}
<div class="block">
{% for block in blocks %}
{% if block.title is not None %}
<h1 class="title">{{ block.title }}</h1>
{% endif %}
2022-07-21 12:50:36 +00:00
<div class="box">
2022-07-21 12:50:45 +00:00
<div class="columns">
{% if block.column1 is not None %}
<div class="column">
{{ block.column1 }}
</div>
2022-07-21 12:50:45 +00:00
{% endif %}
{% if block.column2 is not None %}
<div class="column">
{{ block.column2 }}
2022-07-21 12:50:45 +00:00
</div>
{% endif %}
{% if block.column3 is not None %}
<div class="column">
{{ block.column3 }}
2022-07-21 12:50:45 +00:00
</div>
{% endif %}
</div>
<div class="columns">
{% if block.image1 is not None %}
<div class="column">
<img src="{% static block.image1 %}">
2022-07-21 12:50:45 +00:00
</div>
{% endif %}
{% if block.image2 is not None %}
<div class="column">
<img src="{% static block.image2 %}">
2022-07-21 12:50:45 +00:00
</div>
{% endif %}
{% if block.image3 is not None %}
<div class="column">
<img src="{% static block.image3 %}">
2022-07-21 12:50:45 +00:00
</div>
{% endif %}
</div>
2022-07-21 12:50:36 +00:00
</div>
{% endfor %}
</div>
2022-07-21 12:45:28 +00:00
{% endblock %}