]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/index.html
Update policies.md
[irc/freenode/web-7.0.git] / templates / index.html
index 3e09360a989fb62d4299fc766f7958cd11d3a786..017704da0339329dc604cdabeb160991d8508cea 100644 (file)
@@ -1,25 +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 class="box" href="//webchat.freenode.net">
+            <i class="fa fa-comments fa-4x"></i>
+            <span>Chat</span>
         </a>
-        <a class="box" href="help">
-            <i class="fa fa-question fa-4x"></i><br>FAQ
+        <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="contribute">
-            <i class="fa fa-users fa-4x"></i><br>Register a group
+        <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">
-    {{ get_module("news").articles[-1].render() }}
+    {% with article = get_module("news").articles[-1] %}
+    <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 %}
 </div>
 {% endblock content %}