mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 16:32:40 +00:00
25 lines
671 B
HTML
25 lines
671 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Archives{% endblock %}
|
|
{% block description %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="uk-width-medium-4-5">
|
|
<h1 class="uk-heading-large">Archives</h1>
|
|
|
|
{% for article in dates %}
|
|
<article class="uk-article">
|
|
<a href="{{ article.url }}" class="uk-article-title uk-link-muted mg-list-title">{{ article.title }}</a>
|
|
<p class="uk-article-meta">
|
|
<time datetime="{{ article.date.strftime('%Y-%m-%d') }}">{{ article.locale_date }}</time>
|
|
</p>
|
|
<p>{{ ' '.join(article.content.split(' ')[0:75])|striptags }}...</p>
|
|
|
|
</article>
|
|
{% endfor %}
|
|
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
|