You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by jl...@apache.org on 2012/12/14 15:37:54 UTC
svn commit: r1421899 - in /openwebbeans/cms-site/trunk: content/index.html
content/index.mdtext lib/path.pm
Author: jlmonteiro
Date: Fri Dec 14 14:37:53 2012
New Revision: 1421899
URL: http://svn.apache.org/viewvc?rev=1421899&view=rev
Log:
Using markdown to leverage a layout is not a good idea. Let's restore the index.html and just extend the default template
Added:
openwebbeans/cms-site/trunk/content/index.html
Removed:
openwebbeans/cms-site/trunk/content/index.mdtext
Modified:
openwebbeans/cms-site/trunk/lib/path.pm
Added: openwebbeans/cms-site/trunk/content/index.html
URL: http://svn.apache.org/viewvc/openwebbeans/cms-site/trunk/content/index.html?rev=1421899&view=auto
==============================================================================
--- openwebbeans/cms-site/trunk/content/index.html (added)
+++ openwebbeans/cms-site/trunk/content/index.html Fri Dec 14 14:37:53 2012
@@ -0,0 +1,53 @@
+{% extends "standard.html" %}
+
+
+{% block title %}Apache Openwebbeans{% endblock %}
+{% block content %}
+<!-- Main hero unit for a primary marketing message or call to action -->
+<div class="hero-unit">
+ <div class="row">
+ <div class="span2">
+ <img src="resources/images/logo.png" alt="owb_logo"/>
+ </div>
+ <div class="span8">
+ <p>
+ Apache OpenWebBeans delivers an implementation of the
+ <a href="http://jcp.org/en/jsr/detail?id=299">Contexts and Dependency injection for Java EE</a> (CDI) 1.0 Specification (JSR299).<br/>
+ OpenWebBeans is TCK compliant and works on Java SE 5 or later.
+ </p>
+ <p>
+ Apache OpenWebBeans is
+ <ul>
+ <li>Fast - we agressively use caches internally and deliver great performance</li>
+ <li>Modular - OpenWebBeans Core is purely JavaSE, additional EE functionality gets added via 'Modules'</li>
+ <li>Industry Proved - Many projects use OpenWebBeans in production.</li>
+ <li>Community Oriented - Please visit our mailing list and we will help you moving your project forward.</li>
+ </ul>
+ </p>
+ </div>
+ <!-- <p><a class="btn btn-primary btn-large">Learn more »</a></p> -->
+ </div>
+</div>
+
+<!-- Example row of columns -->
+<div class="row">
+ <div class="span6">
+ <h2>Modules</h2>
+ <p>OpenWebBeans is packaged as modules which get activated by simply dropping them into the classpath.<p>
+ <p><a class="btn" href="documentation.html#module-overview">View details »</a></p>
+ </div>
+ <div class="span6">
+ <h2>Examples</h2>
+ <p>See the following examples which are part of the project to discover how to use OpenwebBeans.</p>
+ <p><a class="btn" href="examples.html#">View details »</a></p>
+ </div>
+</div>
+
+<div class="row">
+ <div class="span-two-thirds">
+ <h3>Latest News</h3>
+
+
+ </div>
+</div>
+{% endblock %}
Modified: openwebbeans/cms-site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/openwebbeans/cms-site/trunk/lib/path.pm?rev=1421899&r1=1421898&r2=1421899&view=diff
==============================================================================
--- openwebbeans/cms-site/trunk/lib/path.pm (original)
+++ openwebbeans/cms-site/trunk/lib/path.pm Fri Dec 14 14:37:53 2012
@@ -1,8 +1,19 @@
package path;
+use strict;
+use warnings;
+use ASF::Value::Blogs;
# taken from django's url.py
our @patterns = (
+ [qr!^/index\.html$!, news_page =>
+ {
+ header => "header.html",
+ footer => "footer.html",
+ blog => ASF::Value::Blogs->new(blog => "owb", limit=> 3),
+ },
+ ],
+
[qr!\.md(text)?$!, basic => {
header => "header.html",
footer => "footer.html",