2014-12-10 17:17:48 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
<!-- Page Header -->
|
|
|
|
<!-- Set your background image for this header on the line below. -->
|
2014-12-10 17:43:49 +00:00
|
|
|
{% if HEADER_COVER %}
|
2014-12-10 17:49:06 +00:00
|
|
|
<header class="intro-header" style="background-image: url('{{ HEADER_COVER }}')">
|
2014-12-10 17:43:49 +00:00
|
|
|
{% else %}
|
|
|
|
<header class="intro-header" style="background-image: url('{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/home-bg.jpg')">
|
|
|
|
{% endif %}
|
2014-12-10 17:17:48 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
|
|
<div class="page-heading">
|
|
|
|
<h1>{{ SITENAME }}</h1>
|
2015-11-25 22:39:43 +00:00
|
|
|
{% if SITESUBTITLE %}
|
|
|
|
<hr class="small">
|
|
|
|
<span class="subheading">{{ SITESUBTITLE }}</span>
|
|
|
|
{% endif %}
|
2014-12-10 17:17:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
{% endblock header %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% for article in articles_page.object_list %}
|
|
|
|
<div class="post-preview">
|
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">
|
|
|
|
<h2 class="post-title">
|
|
|
|
{{ article.title }}
|
|
|
|
</h2>
|
|
|
|
</a>
|
2016-01-17 14:40:56 +00:00
|
|
|
{% if SHOW_FULL_ARTICLE %}
|
|
|
|
{{ article.content }}
|
|
|
|
{% elif article.summary %}
|
2014-12-10 18:00:35 +00:00
|
|
|
{{ article.summary|truncate(140) }}
|
2014-12-10 17:53:48 +00:00
|
|
|
{% endif %}
|
2014-12-10 17:17:48 +00:00
|
|
|
<p class="post-meta">Posted by
|
|
|
|
{% for author in article.authors %}
|
|
|
|
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
on {{ article.locale_date }}
|
|
|
|
</p>
|
2016-01-17 14:46:20 +00:00
|
|
|
{% include 'comments.html' %}
|
2014-12-10 17:17:48 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% include "pagination.html" %}
|
|
|
|
{% endblock content %}
|
|
|
|
|