openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1422302 - /openwebbeans/cms-site/trunk/content/index.html
Date Sat, 15 Dec 2012 18:07:01 GMT
Author: struberg
Date: Sat Dec 15 18:07:00 2012
New Revision: 1422302

URL: http://svn.apache.org/viewvc?rev=1422302&view=rev
Log:
try sorting news horizontal

Modified:
    openwebbeans/cms-site/trunk/content/index.html

Modified: openwebbeans/cms-site/trunk/content/index.html
URL: http://svn.apache.org/viewvc/openwebbeans/cms-site/trunk/content/index.html?rev=1422302&r1=1422301&r2=1422302&view=diff
==============================================================================
--- openwebbeans/cms-site/trunk/content/index.html (original)
+++ openwebbeans/cms-site/trunk/content/index.html Sat Dec 15 18:07:00 2012
@@ -44,13 +44,13 @@
 </div>
 
 <div class="row">
-    <div>
-        <h2>Latest News</h2>
-        {% for e in blog.list %}
+    <h2>Latest News</h2>
+    {% for e in blog.list %}
+        <div class="span4">
         <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
-        {{ e.content|safe|truncatewords_html:30 }}
-        <hr>
-        {% endfor %}
-    </div>
+            {{ e.content|safe|truncatewords_html:30 }}
+            <hr>
+        </div>
+    {% endfor %}
 </div>
 {% endblock %}



Mime
View raw message