diff --git a/templates/archive.html b/templates/archive.html new file mode 100644 index 0000000..aadd02a --- /dev/null +++ b/templates/archive.html @@ -0,0 +1,12 @@ +{% extends "layouts/default.html" %} +{% block title %}A list of the site's archive entries.{% endblock %} +{% block content %} +

Archive

+ +{% for entry in archive-entries %} +
+ {{entry.title}} +
+{% endfor %} + +{% endblock %} diff --git a/templates/user/archive.html b/templates/user/archive.html new file mode 100644 index 0000000..808024e --- /dev/null +++ b/templates/user/archive.html @@ -0,0 +1,18 @@ +{% extends "layouts/default.html" %} +{% block title %}Manage the site's archive.{% endblock %} +{% block content %} +

Archive

+{% for entry in archive-entries %} +
+ {{entry.title}} + Edit + {% if roles.administrator %} +
+ + + +
+ {% endif %} +
+{% endfor %} +{% endblock %}