gnunet-svn
[Top][All Lists]
Advanced

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

[www] branch master updated: modify news


From: gnunet
Subject: [www] branch master updated: modify news
Date: Tue, 05 Nov 2019 10:59:33 +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 841d43b  modify news
841d43b is described below

commit 841d43b97f881c4dc0f475346a3c6dfe3bec21e2
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Tue Nov 5 04:56:57 2019 -0500

    modify news
---
 build-system/taler-build-scripts |  2 +-
 template.py                      |  6 +++---
 template/index.html.j2           | 28 ++++------------------------
 3 files changed, 8 insertions(+), 28 deletions(-)

diff --git a/build-system/taler-build-scripts b/build-system/taler-build-scripts
index 2536801..5c4681c 160000
--- a/build-system/taler-build-scripts
+++ b/build-system/taler-build-scripts
@@ -1 +1 @@
-Subproject commit 2536801927781ea38fefc3de924934e1c6a74d88
+Subproject commit 5c4681cf16a996a41b4c50445125810dd99635f0
diff --git a/template.py b/template.py
index 6d0ff79..bc6549e 100755
--- a/template.py
+++ b/template.py
@@ -242,13 +242,13 @@ newsposts = [
     {
         "page": "2019-10-ICANNPanel.html",
         "date": "2019-10-20",
-        "title": "ICANN Panel",
+        "title": "GNUnet invited to ICANN Panel",
         "abstract": "",
     },
     {
         "page": "2019-10-GNSSpec1.html",
         "date": "2019-10-04",
-        "title": "GNS Spec 1",
+        "title": "GNS Specification Milestone 1/4",
         "abstract": "",
     },
     {
@@ -345,7 +345,7 @@ newsposts = [
 
 for item in newsposts:
     item['abstract'] = abstract_news(item['page'])
-    
+
 
 
 # <!-- FIXME 2015: source only available on yt. <li>Ludovic Courtès, <a 
href="">Reproducible Software Deployment with GNU Guix</a>, Inria</li> -->
diff --git a/template/index.html.j2 b/template/index.html.j2
index 50f9e24..c9c4b0b 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -63,9 +63,9 @@
         <h1>{{ _("News") }}<a name="news"></a></h1>
       </div>
     </div>
+    {% for item in newsdata[:4] %}
     <div class="row">
-      {% for item in newsdata[:3] %}
-        <div class="col-lg-4">
+        <div class="col-lg-12">
           <section>
             <header>
               <h3>{{ item['title'] }}</h3>
@@ -81,32 +81,12 @@
             </p>
           </section>
         </div>
-      {% endfor %}
-    </div>
-    <div class="row">
-      {% for item in newsdata[3:4] %}
-        <div class="col-lg-4">
-          <section>
-            <header>
-              <h3>{{ item['title'] }}</h3>
-              <p>
-                {{ item['date'] }}
-              </p>
-            </header>
-            <p>
-              {{ item['abstract'] }}...
-            </p>
-            <p>
-              <a href="news/{{ item['page'] }}">read more</a>
-            </p>
-          </section>
-        </div>
-      {% endfor %}
     </div>
+    {% endfor %}
     <div class="row">
       <div class="container text-center">
         <p>
-          Read more of our recent news postings <a 
href="news/index.html">here</a>.
+          Read more of our recent news postings <a href="news/index.html">in 
the archive</a>.
         </p>
       </div>
     </div>

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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