X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/7b45ff3e3a239f5ee7e317ad1723fef92393c02d..de2e2346c318c9451632f838daa0957a9950705e:/templates/index.html diff --git a/templates/index.html b/templates/index.html index 21b06aaf8..c2bb7d2e9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,10 +1,11 @@ {% 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

- +
Chat
@@ -12,7 +13,7 @@
Register a group
- +
FAQ
@@ -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 %}