gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www] branch master updated: revert news change; prettify


From: gnunet
Subject: [www] branch master updated: revert news change; prettify
Date: Mon, 16 Nov 2020 08:23:12 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository www.

The following commit(s) were added to refs/heads/master by this push:
     new 3cd2407  revert news change; prettify
3cd2407 is described below

commit 3cd24073ee6cb9d1d857ce8b1f2f7822d4a531f3
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Nov 16 16:15:41 2020 +0900

    revert news change; prettify
---
 template/index.html.j2 | 41 ++++++++++++++++++++++++++---------------
 1 file changed, 26 insertions(+), 15 deletions(-)

diff --git a/template/index.html.j2 b/template/index.html.j2
index fb0ac82..6bc85b2 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -2,18 +2,42 @@
 {% block body_content %}
 <!-- Jumbotron -->
 <div>
-  <div class="container text-center">
+  <div class="container">
     <div class="row">
       <div class="container text-center">
         <h1>{{ _("The Internet of tomorrow needs GNUnet today") }}</h1>
       </div>
     </div>
 
-    <div>
+    <div class="container text-center">
       <img src="{{ url_static('images/gnunet-logo-dark-text.png') }}"  
alt="GNUnet" />
     </div>
   </div>
 </div>
+
+<div class="container-fluid">
+  <div class="container">
+      <div class="row">
+      <div class="col-lg-2 homepageicon">
+        <span class="fa fa-bullhorn"></span>
+      </div>
+      <div class="col-lg-6">
+      <section>
+        <h2>{{ _("Latest news") }}</h2>
+        <p>
+        {% for item in newsdata[:3] %}
+        <a class="link" href="news/{{ item['page'] }}" title="{{ 
item['date']}}">{{ item['date'] }}: {{ item['title'] }}</a><br/>
+        {% endfor %}
+        <br/>
+        <a class="link" href="{{ url_localized('news/index.html')}}">{{ 
_("Older news entries") }}</a>
+        </p>
+        </section>
+      </div>
+    </div>
+  </div>
+</div>
+
+
 <div class="container-fluid greybox">
   <div class="container">
     <div class="row">
@@ -253,19 +277,6 @@
     </div>
   </div>
 
-  <div class="row mt-5">
-  </div>
-  <div class="container">
-    <div class="col-8">
-      <h2><a href="{{ url_localized('news/index.html')}}">{{ _("News") 
}}</a></h2>
-    </div>
-    {% for item in newsdata[:3] %}
-    <div class="col-8">
-      <a href="news/{{ item['page'] }}" title="{{ item['date']}}">{{ 
item['date'] }}: {{ item['title'] }}</a>
-    </div>
-   {% endfor %}
-  </div>
-
 </div>
 <hr style="padding: 2em;"/>
 <div class="container-fluid">

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]