incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From que...@apache.org
Subject svn commit: r1371546 - in /incubator/flex/site/trunk: content/flex/single-mirror-url.chtml content/flex/single-mirror-url.html content/flex/single-mirror-url.mdtext lib/path.pm templates/no_template.html
Date Fri, 10 Aug 2012 02:46:29 GMT
Author: quetwo
Date: Fri Aug 10 02:46:29 2012
New Revision: 1371546

URL: http://svn.apache.org/viewvc?rev=1371546&view=rev
Log:
adding single-mirror-url fix for flex site.

Added:
    incubator/flex/site/trunk/content/flex/single-mirror-url.chtml
    incubator/flex/site/trunk/templates/no_template.html   (with props)
Removed:
    incubator/flex/site/trunk/content/flex/single-mirror-url.html
    incubator/flex/site/trunk/content/flex/single-mirror-url.mdtext
Modified:
    incubator/flex/site/trunk/lib/path.pm

Added: incubator/flex/site/trunk/content/flex/single-mirror-url.chtml
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/content/flex/single-mirror-url.chtml?rev=1371546&view=auto
==============================================================================
--- incubator/flex/site/trunk/content/flex/single-mirror-url.chtml (added)
+++ incubator/flex/site/trunk/content/flex/single-mirror-url.chtml Fri Aug 10 02:46:29 2012
@@ -0,0 +1 @@
+[preferred]
\ No newline at end of file

Modified: incubator/flex/site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/lib/path.pm?rev=1371546&r1=1371545&r2=1371546&view=diff
==============================================================================
--- incubator/flex/site/trunk/lib/path.pm (original)
+++ incubator/flex/site/trunk/lib/path.pm Fri Aug 10 02:46:29 2012
@@ -6,6 +6,7 @@ our @patterns = (
 	[qr!\.mdtext$!, single_narrative => { template => "single_narrative.html" }],
 	[qr!\.html$!, html_page => { template => "html_page.html" }],
 	[qr!\.htm$!, html_page => { template => "html_page.html" }],
+    [qr!\.chtml$!, html_page => { template => "no_template.html" }],
 ) ;
 
 # for specifying interdependencies between files

Added: incubator/flex/site/trunk/templates/no_template.html
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/templates/no_template.html?rev=1371546&view=auto
==============================================================================
--- incubator/flex/site/trunk/templates/no_template.html (added)
+++ incubator/flex/site/trunk/templates/no_template.html Fri Aug 10 02:46:29 2012
@@ -0,0 +1 @@
+{% block content %}{{ content|markdown }}{% endblock %}
\ No newline at end of file

Propchange: incubator/flex/site/trunk/templates/no_template.html
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message