X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/4c00ab7edd4f062bd3f2eecbfe7a8309d541aa8b..refs/pull/99/head:/templates/index.html
diff --git a/templates/index.html b/templates/index.html
index 21b06aaf8..a931b5e60 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,35 +1,33 @@
{% extends "base.html" %}
-{% set title = config.name %}
+{% block title %}{{ config.name }}{% endblock %}
+{% import "artinfo.html" as artinfo %}
{% block content %}
{% with article = get_module("news").articles[-1] %}
-
{{ article.title }}
- {{ article.datetime }} by {{ article.author }}
-
{{ article.render() }}
- {#
-
- Next
- Previous
- #}
+ {{ artinfo.info(article) }}
+
{{ article.render() }}
+
{% endwith %}
-
- News Archive
{% endblock content %}