X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/29ecc4a5f03c6b11115a984ec40a1d3e7f09638a..fef2588f4a5b42d422df8b0748ce6f23e69ca751:/templates/index.html?ds=sidebyside diff --git a/templates/index.html b/templates/index.html index 6235d8c30..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.author }} on {{ article.datetime }} -

{{ article.render() }}

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