aboutsummaryrefslogtreecommitdiffstats
path: root/notebook/templates/archives.html
diff options
context:
space:
mode:
Diffstat (limited to 'notebook/templates/archives.html')
-rw-r--r--notebook/templates/archives.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/notebook/templates/archives.html b/notebook/templates/archives.html
new file mode 100644
index 0000000..352ecd9
--- /dev/null
+++ b/notebook/templates/archives.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+{% block head %}
+{{ super() }}
+<meta name="twitter:creator" content="{{ TWITTER_USERNAME }}">
+<meta name="twitter:url" content="{{ SITEURL }}/archives.html">
+<meta name="twitter:title" content="{{ SITENAME }} ~ Archives">
+<meta name="twitter:description" content="{{ SITENAME }} ~ Archives du site">
+
+<!-- Facebook Meta Data -->
+<meta property="og:title" content="{{ SITENAME }} ~ Archives" />
+<meta property="og:description" content="{{ SITENAME }} ~ Archives" />
+<meta property="og:image" content="{{ AVATAR }}" />
+{% endblock head %}
+{% block content %}
+<h1>Archives</h1>
+
+<dl>
+{% for article in dates %}
+ <dt>{{ article.locale_date }}</dt>
+ <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
+{% endfor %}
+</dl>
+{% endblock %}