73 lines
2.6 KiB
HTML
73 lines
2.6 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
|
|
{% if TAGLINE or TAGLINEHEAD %}
|
|
<!-- Banner -->
|
|
<section id="banner">
|
|
<h1>{{ TAGLINEHEAD }}</h1>
|
|
<p>{{ TAGLINE }}</p>
|
|
</section>
|
|
{% endif %}
|
|
|
|
{% if CORNERSTONE_CONTENT == True %}
|
|
<!-- Cornerstone Pages -->
|
|
<section id="cornerstone_pages">
|
|
{% include 'include/cornerstone.html' %}
|
|
<br />
|
|
<br />
|
|
</section>
|
|
{% endif %}
|
|
|
|
{% if NEWSLETTER %}
|
|
<!-- Newsletter CTA -->
|
|
<section id="home-newsletter">
|
|
<h2>Our Newsletter</h2>
|
|
{{ NEWSLETTER }}
|
|
<br />
|
|
</section>
|
|
{% endif %}
|
|
|
|
<section>
|
|
{% block content_title %}
|
|
<h2>All articles</h2>
|
|
{% endblock %}
|
|
<div class="posts">
|
|
{% for article in articles_page.object_list %}
|
|
<article>
|
|
<header> <h2 id="indexheader"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
|
|
|
|
{% if article.photo_image %}
|
|
<a href="{{ SITEURL }}/{{ article.url }}" class="image"><img src="{{ SITEURL }}/{{ article.photo_image[1] }}" style="max-width: 100%; display: inline; float: center;" /></a>
|
|
{% endif %}
|
|
{% if (article.category != MICROBLOG ) %}
|
|
<!--<footer class="post-info">
|
|
<time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
|
|
</footer> -->
|
|
|
|
<!-- /.post-info -->
|
|
<div class="entry-content"> {{ article.summary }} </div>
|
|
{% if INCLUDECATEGORY == True %}
|
|
{% if article.category %}
|
|
<div class="category">
|
|
Posted in: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if MOREBUTTON == True %}
|
|
<br />
|
|
<ul class="actions">
|
|
<li><a href="{{ SITEURL }}/{{ article.url }}" class="button">More</a></li>
|
|
</ul>
|
|
<br />
|
|
{% endif %}
|
|
<!-- /.entry-content -->
|
|
{% endif %}
|
|
</article>
|
|
{% endfor %}
|
|
<!-- /#posts-list -->
|
|
</div>
|
|
{% if articles_page.has_other_pages() %}
|
|
{% include 'pagination.html' %}
|
|
{% endif %}
|
|
</section><!-- /#content -->
|
|
{% endblock content %}
|