You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by vh...@apache.org on 2014/07/24 18:26:56 UTC

svn commit: r1613178 - in /xmlgraphics/site/trunk: content/fop/status.mdtext lib/path.pm

Author: vhennebert
Date: Thu Jul 24 16:26:56 2014
New Revision: 1613178

URL: http://svn.apache.org/r1613178
Log:
Enabled pre-processing of Markdown files so that we can use variables

Modified:
    xmlgraphics/site/trunk/content/fop/status.mdtext
    xmlgraphics/site/trunk/lib/path.pm

Modified: xmlgraphics/site/trunk/content/fop/status.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/status.mdtext?rev=1613178&r1=1613177&r2=1613178&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/status.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/status.mdtext Thu Jul 24 16:26:56 2014
@@ -7,7 +7,7 @@ Title: Apache(tm) FOP Status
 
 [last updated 11 December 2012]
 
-Apache™ FOP version 1.1 was released on 20 October 2012.
+Apache™ FOP version {{ fop_current_version }} was released on {{fop_current_version_release_date}}.
 
 ## Development Status { #Development-Status}
 

Modified: xmlgraphics/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/lib/path.pm?rev=1613178&r1=1613177&r2=1613178&view=diff
==============================================================================
--- xmlgraphics/site/trunk/lib/path.pm (original)
+++ xmlgraphics/site/trunk/lib/path.pm Thu Jul 24 16:26:56 2014
@@ -1,5 +1,11 @@
 package path;
 
+my %variables = (
+    fop_current_version => "1.1",
+    fop_current_version_release_date => "20 October 2012",
+);
+
+
 # taken from django's url.py
 
 our @patterns = (
@@ -15,6 +21,8 @@ our @patterns = (
          sidenav => "fop-sidenav.mdtext",
          footer => "bottom.html",
        template => "single_narrative.html",
+       preprocess => 1,
+       %variables,
     } ],
 
 	[qr!\.mdtext$!, single_narrative => {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org