X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/ffa9f1bca5ad6ac7fb643a1a2406e643834e1c4e..b7b20c2281ca6f539575dd1487ad2c3502be3ad5:/templates/index.html diff --git a/templates/index.html b/templates/index.html index 190a2893f..c2bb7d2e9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,18 +1,19 @@ {% 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
- +
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 %}