adding custom empty templates

This commit is contained in:
crunk 2023-11-03 20:44:18 +01:00
parent 64830c11fb
commit 06954d018f
4 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1 @@
<!-- this is html after your columns -->

View File

@ -0,0 +1 @@
<!-- this is html before your columns -->

View File

@ -0,0 +1,3 @@
<!-- This can be a custom column
<div class="feed custom">
</div> -->

View File

@ -1,7 +1,13 @@
{% extends "base.html" %}
{% block main %}
{% block custombefore %}
{% include "custombefore.html" %}
{% endblock %}
<div class="crunkcolumns">
{% for column in columns %}
{% block customcolumn %}
{% include "customcolumn.html" %}
{% endblock %}
{% for column in columns %}
<div class="feed {{ column.title.replace(' ', '') }}">
<h1>{{ column.title }}</h1>
{% for feedtitle, text in column.entries.items() %}
@ -11,6 +17,9 @@
</div>
{% endfor%}
</div>
{% endfor%}
{% endfor%}
</div>
{% block customafter %}
{% include "customafter.html" %}
{% endblock %}
{% endblock %}