]> jfr.im git - irc/freenode/web-7.0.git/blame - templates/index.html
Merge pull request #25 from freenode/template-pages
[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">
545c8ea4 5 <h2 class="child">Welcome to freenode, the new home of your projects.</h2>
8978a3db 6 <div class="box-container">
6c2065c4
EK
7 <a class="box" href="about">
8 <i class="fa fa-comment fa-4x"></i>
d4b00db0 9 <div>Chat</div>
6c2065c4
EK
10 </a>
11 <a class="box" href="contribute">
12 <i class="fa fa-users fa-4x"></i>
d4b00db0 13 <div>Register a group</div>
14 </a>
15 <a class="box" href="help">
16 <i class="fa fa-question fa-4x"></i>
17 <div>FAQ</div>
6c2065c4 18 </a>
8978a3db
EK
19 </div>
20</div>
8978a3db 21<div class="main">
896bb6cd
EK
22 {% with article = get_module("news").articles[-1] %}
23 <p><b class="art"><a href="{{ article.url }}">{{ article.title }}</a></b>&nbsp;
24 <span class="art-date">{{ article.datetime }} by {{ article.author }}</span></p>
25 <p class="art-ingress">{{ article.render() }}</p>
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 %}
7b077b14 32 <a href="{{ url_for("archive") }}" ckass="art-link">
1de70c56 33 News Archive</a>
8978a3db
EK
34</div>
35{% endblock content %}