Browse Source

adding custom empty templates

main
crunk 1 year ago
parent
commit
06954d018f
  1. 1
      templates/customafter.html
  2. 1
      templates/custombefore.html
  3. 3
      templates/customcolumn.html
  4. 13
      templates/index.html

1
templates/customafter.html

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

1
templates/custombefore.html

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

3
templates/customcolumn.html

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

13
templates/index.html

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

Loading…
Cancel
Save