adding custom empty templates
This commit is contained in:
parent
64830c11fb
commit
06954d018f
1
templates/customafter.html
Normal file
1
templates/customafter.html
Normal file
@ -0,0 +1 @@
|
||||
<!-- this is html after your columns -->
|
1
templates/custombefore.html
Normal file
1
templates/custombefore.html
Normal file
@ -0,0 +1 @@
|
||||
<!-- this is html before your columns -->
|
3
templates/customcolumn.html
Normal file
3
templates/customcolumn.html
Normal file
@ -0,0 +1,3 @@
|
||||
<!-- This can be a custom column
|
||||
<div class="feed custom">
|
||||
</div> -->
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user