]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/index.html
Update groupreg.md
[irc/freenode/web-7.0.git] / templates / index.html
index 530705e41f62460d78c70b0cc1c30088563033f2..780878df92fa6045f82e7720276e816da6174a4a 100644 (file)
@@ -1,31 +1,33 @@
 {% extends "base.html" %}
-{% set title = config.name %}
+{% block title %}{{ config.name }}{% endblock %}
+{% import "artinfo.html" as artinfo %}
 {% block content %}
-<div class="jumbotron">
-    <h2 class="child">Welcome to freenode, the new home of your
-    projects.</h2>
+<div class="jumbotron jindex">
+    <h2 class="child">Welcome to <img alt="freenode" class="tlogo" src="{{ url_for("static/img/logos/coloured-alphabg.svg") }}" />&thinsp;—&thinsp;supporting free and open source communities since 1998</h2>
     <div class="box-container">
-        <a class="box" href="about"><i class=
-        "fa fa-comment fa-4x"></i><br>
-        Chat</a> <a class="box" href="help"><i class=
-        "fa fa-question fa-4x"></i><br>
-        FAQ</a> <a class="box" href="contribute"><i class=
-        "fa fa-users fa-4x"></i><br>
-        Register a group</a>
+        <a class="box" href="//webchat.freenode.net">
+            <i class="fa fa-comments fa-4x"></i>
+            <span>Chat</span>
+        </a>
+        <a class="box" href="{{ url_for("pages/groupreg") }}">
+            <i class="fa fa-users fa-4x"></i>
+            <span>Register a group</span>
+        </a>
+        <a class="box" href="{{ url_for("kb/index/all") }}">
+            <i class="fa fa-question fa-4x"></i>
+            <span>Knowledge Base</span>
+        </a>
     </div>
 </div>
 <div class="main">
     {% with article = get_module("news").articles[-1] %}
-    <p><b class="art"><a href="{{ article.url }}">{{ article.title }}</a></b>&nbsp;
-    <span class="art-date">{{ article.datetime }} by {{ article.author }}</span></p>
-    <p class="art-ingress">{{ article.render() }}</p>
-    {#
-    <p class="art-links">
-        <a href="{{ next }}">Next</a>&nbsp;
-        <a href="{{ previous }}">Previous</a>&nbsp;
-    #}
+    <div class="art-info">{{ artinfo.info(article) }}</div>
+    <div class="art-body">{{ article.render() }}</div>
+    <div class="art-nav">
+        <span></span>
+        <a href="{{ url_for("archive") }}">view archive</a>
+        <span></span>
+    </div>
     {% endwith %}
-    <a href="{{ url_for("archive.html") }}" ckass="art-link"><i class="fa fa-rss"></i>
-                News Archive</a>
 </div>
 {% endblock content %}