Browse Source

adding custom empty templates

main
crunk 7 months 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" %}
{% 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…
Cancel
Save