Author: dblevins
Date: Thu Apr 25 18:55:40 2013
New Revision: 1475904

URL: http://svn.apache.org/r1475904
Log:
Add TomEE blog and OpenEJB blog to main page

Modified:
    tomee/site/trunk/content/index.html
    tomee/site/trunk/lib/path.pm

Modified: tomee/site/trunk/content/index.html
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/content/index.html?rev=1475904&r1=1475903&r2=1475904&view=diff
==============================================================================
--- tomee/site/trunk/content/index.html (original)
+++ tomee/site/trunk/content/index.html Thu Apr 25 18:55:40 2013
@@ -1,6 +1,5 @@
 {% extends "basic.html" %}
 
-
 {% block title %}Apache TomEE & OpenEJB{% endblock %}
 {% block content %}
     <!-- Main hero unit for a primary marketing message or call to action -->
@@ -52,7 +51,12 @@
         <div class="span-two-thirds">
             <h3>Latest News</h3>
 
-            {% for e in blog.list %}
+            {% for e in tomeeBlog.list %}
+            <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
+            {{ e.content|safe|truncatewords_html:50 }}
+            <hr>
+            {% endfor %}
+            {% for e in openejbBlog.list %}
             <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
             {{ e.content|safe|truncatewords_html:50 }}
             <hr>

Modified: tomee/site/trunk/lib/path.pm
URL: 
http://svn.apache.org/viewvc/tomee/site/trunk/lib/path.pm?rev=1475904&r1=1475903&r2=1475904&view=diff
==============================================================================
--- tomee/site/trunk/lib/path.pm (original)
+++ tomee/site/trunk/lib/path.pm Thu Apr 25 18:55:40 2013
@@ -14,7 +14,8 @@ use ASF::Value;
 our @patterns = (
 
     [qr!^/index\.html$!, news_page => {
-        blog     => ASF::Value::Blogs->new(blog => "tomee", limit=> 3),
+        tomeeBlog     => ASF::Value::Blogs->new(blog => "tomee", limit=> 1),
+        openejbBlog     => ASF::Value::Blogs->new(blog => "openejb", limit=> 
3),
     }],
 
     [qr!^/logo\.html$!, news_page => { }],


Reply via email to