]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/index.html
Merge branch 'master' of https://github.com/freenode/web-7.0.git
[irc/freenode/web-7.0.git] / templates / index.html
index 3e09360a989fb62d4299fc766f7958cd11d3a786..63bd779a8aabdaa7cef68f661825a060673da81d 100644 (file)
@@ -2,24 +2,23 @@
 {% set title = config.name %}
 {% block content %}
 <div class="jumbotron">
-    <h2 class="child">Welcome to freenode, the new home of your projects.</h2>
-
-
+    <h2 class="child">Welcome to freenode, the new home of your
+    projects.</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="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>
     </div>
 </div>
-
-
 <div class="main">
-    {{ get_module("news").articles[-1].render() }}
+    {% 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>
+    {% endwith %}
 </div>
 {% endblock content %}