]> jfr.im git - irc/freenode/web-7.0.git/blame - templates/index.html
Merge branch 'master' into template-archivelink
[irc/freenode/web-7.0.git] / templates / index.html
CommitLineData
8978a3db
EK
1{% extends "base.html" %}
2{% set title = config.name %}
3{% block content %}
4<div class="jumbotron">
f30b0f1e
SB
5 <h2 class="child">Welcome to freenode, the new home of your
6 projects.</h2>
8978a3db 7 <div class="box-container">
f30b0f1e
SB
8 <a class="box" href="about"><i class=
9 "fa fa-comment fa-4x"></i><br>
10 Chat</a> <a class="box" href="help"><i class=
11 "fa fa-question fa-4x"></i><br>
12 FAQ</a> <a class="box" href="contribute"><i class=
13 "fa fa-users fa-4x"></i><br>
14 Register a group</a>
8978a3db
EK
15 </div>
16</div>
8978a3db 17<div class="main">
896bb6cd
EK
18 {% with article = get_module("news").articles[-1] %}
19 <p><b class="art"><a href="{{ article.url }}">{{ article.title }}</a></b>&nbsp;
20 <span class="art-date">{{ article.datetime }} by {{ article.author }}</span></p>
21 <p class="art-ingress">{{ article.render() }}</p>
fb48ec12
SB
22 {#
23 <p class="art-links">
24 <a href="{{ next }}">Next</a>&nbsp;
25 <a href="{{ previous }}">Previous</a>&nbsp;
26 <a href="{{ archive }}">Archive</a>&nbsp;
27 </p>
28 #}
896bb6cd 29 {% endwith %}
1de70c56
SB
30 <a href="{{ url_for("archive.html") }}" ckass="art-link"><i class="fa fa-rss"></i>
31 News Archive</a>
8978a3db
EK
32</div>
33{% endblock content %}