19 lines
666 B
HTML
19 lines
666 B
HTML
{% extends "base.html" %}
|
|
{% block content_body %}
|
|
{% for p in pages if p.title == "Index" %}
|
|
{% set lr = cycler("row-reverse", "row") %}
|
|
{% if p.featured is defined %}
|
|
<div class="index-featured"></div>
|
|
{% endif %}
|
|
{% from 'includes/macros.html' import fi %}
|
|
{% for i in p.index_cards %}
|
|
<div class="index" style="flex-direction: {{ lr.next() }};">
|
|
{{ fi( i.pic, i.link, i.alt, i.title, i.credit, i.credit_link) }}
|
|
<p><a class="index-link" href="{{ i.link }}">{{ i.alt }}</a></p>
|
|
</div>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% include "includes/subscribe.html" %}
|
|
{% include "includes/unsubscribe.html" %}
|
|
{% endblock content_body %}
|