aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/templates/articles.html
diff options
context:
space:
mode:
authorValentin Heinz <inktrap@users.noreply.github.com>2017-04-08 14:03:25 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-04-08 14:03:25 +0200
commit5c231ceade17e7f5b1bba90e845dd2d17e54da1c (patch)
treef4f07dbbac2c51c8a0af1e1a24f11e030a2e4155 /uikit/templates/articles.html
parent00986ab80df4b6be2d1306671907e2b2378e487f (diff)
downloadpelican-themes-5c231ceade17e7f5b1bba90e845dd2d17e54da1c.tar.gz
uikit demo theme ported to pelican (#385)
Diffstat (limited to 'uikit/templates/articles.html')
-rw-r--r--uikit/templates/articles.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/uikit/templates/articles.html b/uikit/templates/articles.html
new file mode 100644
index 0000000..8454395
--- /dev/null
+++ b/uikit/templates/articles.html
@@ -0,0 +1,20 @@
+{% extends "index.html" %}
+{% import 'html_macros.html' as html_macros %}
+
+{% block head %}
+{{ super() }}
+{% endblock head %}
+{% block titlename %}{{'all articles'|capitalize}}{% endblock titlename %}
+
+{% block content %}
+{% block heading %}
+
+<h1>{{'all the articles'|capitalize}}</h1>
+
+<ul>
+{% for article in articles|sort %}
+ <li><a class="{% if CAPITALIZE_HEADINGS %}capitalize{% endif %}" href="/{{ article.url }}">{{ article.title }}</a></li>
+{% endfor %}
+</ul>
+{% endblock heading %}
+{% endblock content %}