]> jfr.im git - irc/freenode/web-7.0.git/blame - templates/index.html
unify article info display and styling
[irc/freenode/web-7.0.git] / templates / index.html
CommitLineData
8978a3db
EK
1{% extends "base.html" %}
2{% set title = config.name %}
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] %}
6bb71fc1
EK
24 <b class="art"><a href="{{ article.url }}">{{ article.title }}</a></b>&nbsp;
25 <span class="art-date">{{ article.author }} on {{ article.datetime }}</span>
896bb6cd 26 <p class="art-ingress">{{ article.render() }}</p>
fb48ec12
SB
27 {#
28 <p class="art-links">
29 <a href="{{ next }}">Next</a>&nbsp;
30 <a href="{{ previous }}">Previous</a>&nbsp;
fb48ec12 31 #}
896bb6cd 32 {% endwith %}
7b077b14 33 <a href="{{ url_for("archive") }}" ckass="art-link">
1de70c56 34 News Archive</a>
8978a3db
EK
35</div>
36{% endblock content %}