]> jfr.im git - irc/freenode/web-7.0.git/blame - templates/index.html
fix article display
[irc/freenode/web-7.0.git] / templates / index.html
CommitLineData
8978a3db 1{% extends "base.html" %}
fef2588f 2{% block title %}{{ config.name }}{% endblock %}
b9f1cb69 3{% import "artinfo.html" as artinfo %}
8978a3db
EK
4{% block content %}
5<div class="jumbotron">
588c2afb 6 <h2 class="child">Welcome to freenode&thinsp;—&thinsp;supporting free and open source communities since 1998</h2>
8978a3db 7 <div class="box-container">
af765d49 8 <a class="box" href="{{ url_for("faq/chat") }}">
6c2065c4 9 <i class="fa fa-comment fa-4x"></i>
d4b00db0 10 <div>Chat</div>
6c2065c4 11 </a>
7b45ff3e 12 <a class="box" href="{{ url_for("pages/soon") }}">
6c2065c4 13 <i class="fa fa-users fa-4x"></i>
d4b00db0 14 <div>Register a group</div>
15 </a>
a52cd9ae 16 <a class="box" href="{{ url_for("faq") }}">
d4b00db0 17 <i class="fa fa-question fa-4x"></i>
db922600 18 <div href="{{ url_for("faq") }}">FAQ</div>
6c2065c4 19 </a>
8978a3db
EK
20 </div>
21</div>
8978a3db 22<div class="main">
896bb6cd 23 {% with article = get_module("news").articles[-1] %}
fef2588f
EK
24 {{ artinfo.info(article) }}
25 <div class="art-body">{{ article.render() }}</div>
fb48ec12
SB
26 {#
27 <p class="art-links">
28 <a href="{{ next }}">Next</a>&nbsp;
29 <a href="{{ previous }}">Previous</a>&nbsp;
fb48ec12 30 #}
896bb6cd 31 {% endwith %}
8978a3db
EK
32</div>
33{% endblock content %}