|
@ -28,8 +28,9 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="entry-content e-content">{{ article.content }}</div> |
|
|
<div class="entry-content e-content">{{ article.content }}</div> |
|
|
</article> |
|
|
</article> |
|
|
</div><!-- /#featured --> |
|
|
</div> |
|
|
{% if loop.index == 3 %} |
|
|
{% if loop.index == 3 %} |
|
|
|
|
|
</section> |
|
|
<section id="list"> |
|
|
<section id="list"> |
|
|
<h1>Other articles</h1> |
|
|
<h1>Other articles</h1> |
|
|
<hr /> |
|
|
<hr /> |
|
@ -38,7 +39,8 @@ |
|
|
{# other items #} |
|
|
{# other items #} |
|
|
{% else %} |
|
|
{% else %} |
|
|
{% if loop.first %} |
|
|
{% if loop.first %} |
|
|
<section id="other"> |
|
|
</section> |
|
|
|
|
|
<section id="list"> |
|
|
<ol id="posts-list" class="hfeed" start="{{ articles_paginator.per_page -1 }}"> |
|
|
<ol id="posts-list" class="hfeed" start="{{ articles_paginator.per_page -1 }}"> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
<li> |
|
|
<li> |
|
@ -68,21 +70,20 @@ |
|
|
<div class="entry-content"> |
|
|
<div class="entry-content"> |
|
|
<p class="p-summary">{{ article.summary }}</p> |
|
|
<p class="p-summary">{{ article.summary }}</p> |
|
|
<span class="entry-readmore"><a class="readmore" href="{{ SITEURL }}/{{ article.url }}"> read more</a></span> |
|
|
<span class="entry-readmore"><a class="readmore" href="{{ SITEURL }}/{{ article.url }}"> read more</a></span> |
|
|
</div><!-- /.entry-content --> |
|
|
</div> |
|
|
</article> |
|
|
</article> |
|
|
</li> |
|
|
</li> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if loop.last %} |
|
|
{% if loop.last %} |
|
|
{% if loop.length > 1 or articles_page.has_other_pages() %} |
|
|
{% if loop.length > 1 or articles_page.has_other_pages() %} |
|
|
</ul><!-- /#posts-list --> |
|
|
</ul> |
|
|
{% if articles_page.has_other_pages() %} |
|
|
{% if articles_page.has_other_pages() %} |
|
|
{% include 'pagination.html' %} |
|
|
{% include 'pagination.html' %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
</section><!-- /#content --> |
|
|
</section> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</section> |
|
|
|
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endblock content %} |
|
|
{% endblock content %} |
|
|
|
|
|
|
|
|