X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/2844e3698572e0ae65464cb785a782f693a7bfee..de2e2346c318c9451632f838daa0957a9950705e:/templates/index.html diff --git a/templates/index.html b/templates/index.html index 7bc9b71d9..c2bb7d2e9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,6 @@ {% extends "base.html" %} -{% set title = config.name %} +{% block title %}{{ config.name }}{% endblock %} +{% import "artinfo.html" as artinfo %} {% block content %}

Welcome to freenode — supporting free and open source communities since 1998

@@ -20,16 +21,13 @@
{% with article = get_module("news").articles[-1] %} -

{{ article.title }}  - {{ article.datetime }} by {{ article.author }}

-

{{ article.render() }}

+ {{ artinfo.info(article) }} +
{{ article.render() }}
{#
{% endblock content %}