From 5c231ceade17e7f5b1bba90e845dd2d17e54da1c Mon Sep 17 00:00:00 2001 From: Valentin Heinz Date: Sat, 8 Apr 2017 14:03:25 +0200 Subject: uikit demo theme ported to pelican (#385) --- uikit/templates/index.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 uikit/templates/index.html (limited to 'uikit/templates/index.html') diff --git a/uikit/templates/index.html b/uikit/templates/index.html new file mode 100644 index 0000000..bd3d405 --- /dev/null +++ b/uikit/templates/index.html @@ -0,0 +1,32 @@ +{% extends "uikit.html" %} +{% import 'article_macros.html' as article_macros %} +{% block head %} +{{super()}} +{% endblock head %} +{% block titlename %}{{'welcome!'|capitalize}}{% endblock titlename %} +{% block content %} +{% block heading %} +

+{{ HEADING }} +

+{% endblock heading %} +{% if articles %} + {% for article in articles|sort(reverse=True,attribute='date') %} +

+ {{ article.title }} +

+

+ {{ article_macros.get_meta(SITEURL, article) }} +

+ {{ article.summary }} +

+ Continue Reading + +

+ {% endfor %} + {# + #} +{% endif %} +{% endblock content %} -- cgit