blob: aaf8fbd2473198e764c23e000e21accbf67a629f (
plain) (
tree)
|
|
---
layout: default
title: titles.home
hidden: true
---
{% tf home/intro.md %}
<section id="news" class="wide">
<h2>{% t home.latest_news %}</h2>
{% for p in paginator.posts %}
<article>
<header>
<date>{{ p.date | date_to_string }}</date>
<h1>
<a href="{{ p.url }}">{{ p.title }}</a>
</h1>
</header>
<section>
{{ p.excerpt }}
</section>
</article>
{% endfor %}
</section>
{% if site.links %}
<section id="links">
<h2>{% t home.links %}</h2>
</section>
{% endif %}
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous">{% t home.prev_page %}</a>
{% else %}
<span class="previous">{% t home.prev_page %}</span>
{% endif %}
<span class="page_number ">{% t home.page_no %} {{ paginator.page }} / {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="next">{% t home.next_page %}</a>
{% else %}
<span class="next ">{% t home.next_page %}</span>
{% endif %}
</div>
|