46 lines
1.7 KiB
HTML
46 lines
1.7 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<section id="content">
|
|
{% block content_title %}
|
|
|
|
{% endblock %}
|
|
|
|
<div id="post-list">
|
|
{% for article in articles_page.object_list %}
|
|
{% if article.category != 'News' %}
|
|
<article class="hentry">
|
|
<div class="entry-content">
|
|
<div class="featured_image">
|
|
{% if article.featured_image %}
|
|
<img src="{{SITEURL}}/{{ article.featured_image }}">
|
|
{% endif %}</div>
|
|
<div class="summary">
|
|
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
|
|
{{article.summary}}<a href="{{ SITEURL }}/{{ article.url }}">[continued]</a>
|
|
</div>
|
|
</div><!-- /.entry-content -->
|
|
</article>
|
|
{% endif %}
|
|
{% endfor %}
|
|
<h2>UPDATES</h2>
|
|
{% for article in articles_page.object_list %}
|
|
{% if article.category != 'Brews' %}
|
|
<article class="hentry">
|
|
<div class="entry-content">
|
|
<div class="summary">
|
|
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
|
|
{{article.date | strftime('%d %B %Y')}}
|
|
{{article.summary}}
|
|
</div>
|
|
</div><!-- /.entry-content -->
|
|
</article>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
<!-- /#posts-list -->
|
|
{% if articles_page.has_other_pages() %}
|
|
{% include 'pagination.html' %}
|
|
{% endif %}
|
|
</section><!-- /#content -->
|
|
{% endblock content %}
|