pelican-mg/templates/archives.html

25 lines
666 B
HTML
Raw Normal View History

2014-12-29 22:08:56 +00:00
{% extends "base.html" %}
{% block title %}Archives{% endblock %}
{% block description %}{% endblock %}
{% block content %}
2019-05-28 05:42:17 +00:00
<div class="uk-width-4-5@m">
2014-12-31 21:17:45 +00:00
<h1 class="uk-heading-large">Archives</h1>
2014-12-29 22:08:56 +00:00
{% for article in dates %}
2015-01-09 19:28:34 +00:00
<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">
2015-01-09 19:28:34 +00:00
<time datetime="{{ article.date.strftime('%Y-%m-%d') }}">{{ article.locale_date }}</time>
</p>
2015-01-09 19:28:34 +00:00
<p>{{ ' '.join(article.content.split(' ')[0:75])|striptags }}...</p>
2014-12-29 22:08:56 +00:00
</article>
{% endfor %}
</div>
{% endblock %}