flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject svn commit: r1395043 - in /incubator/flex/site/trunk: content/flex/again/index.fhtml templates/flex_about.html templates/flex_page.html
Date Sat, 06 Oct 2012 13:11:11 GMT
Author: erikdebruin
Date: Sat Oct  6 13:11:11 2012
New Revision: 1395043

URL: http://svn.apache.org/viewvc?rev=1395043&view=rev
Log:
Working on the new Flex project site.

Added:
    incubator/flex/site/trunk/templates/flex_about.html
Modified:
    incubator/flex/site/trunk/content/flex/again/index.fhtml
    incubator/flex/site/trunk/templates/flex_page.html

Modified: incubator/flex/site/trunk/content/flex/again/index.fhtml
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/content/flex/again/index.fhtml?rev=1395043&r1=1395042&r2=1395043&view=diff
==============================================================================
--- incubator/flex/site/trunk/content/flex/again/index.fhtml (original)
+++ incubator/flex/site/trunk/content/flex/again/index.fhtml Sat Oct  6 13:11:11 2012
@@ -1,4 +1,4 @@
-isAbout:    indicate that this page is a 'About' page
-Title:      Hi there?
+IsAbout:    Indicate that this page is an 'About' page
+Title:      Supported Platforms
 
-Blah blah
\ No newline at end of file
+Desktop | Mobile | TV
\ No newline at end of file

Added: incubator/flex/site/trunk/templates/flex_about.html
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/templates/flex_about.html?rev=1395043&view=auto
==============================================================================
--- incubator/flex/site/trunk/templates/flex_about.html (added)
+++ incubator/flex/site/trunk/templates/flex_about.html Sat Oct  6 13:11:11 2012
@@ -0,0 +1,5 @@
+<!-- start insert -->
+
+<h1>INSERT</h1>
+
+<!-- end insert -->
\ No newline at end of file

Modified: incubator/flex/site/trunk/templates/flex_page.html
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/templates/flex_page.html?rev=1395043&r1=1395042&r2=1395043&view=diff
==============================================================================
--- incubator/flex/site/trunk/templates/flex_page.html (original)
+++ incubator/flex/site/trunk/templates/flex_page.html Sat Oct  6 13:11:11 2012
@@ -1,26 +1,17 @@
 {% include header %}
-<!-- start content -->
 
     <div id="flex-content">
-        <!-- The headers 'object' contains properties who's values are defined
-             at the top of the 'fhtml' page ([name]: value). -->
          {% block notice %}{{ headers.notice }}{% endblock %}
 
-         <!-- conditional based on headers 'property' value -->
-         {% block conditional %}{% if headers.isabout %}Whoa!{% endif %}{% endblock %}
-         
-         <!-- The various 'flex_xxx' variables are automatically parsed by the
-              CMS from files in the 'templates' directory (i.e. flex_insert.mdtext
-              will be parsed into the 'flex_insert' variable). -->
-         {% if flex_insert %}
-            {% autoescape off %}{{ flex_insert|markdown }}{% endautoescape %}
-         {% endif %}
-
-         <!-- This is a placeholder 'content' that will hold the contents of 
-              the variable 'content' after it has been filtered through the 
-              'markdown' filter. -->
-         {% block content %}{{ content|markdown }}{% endblock %}
+         {% block conditional %}
+            <!-- About -->
+            {% if headers.isabout %}
+                {% if flex_about %}
+                   {% autoescape off %}{{ flex_about }}{% endautoescape %}
+                {% endif %}
+                {% block content %}{{ content|markdown }}{% endblock %}
+            {% endif %}
+        {% endblock %}
     </div>
 
-<!-- end content -->
 {% include footer %}
\ No newline at end of file



Mime
View raw message