toolbox template
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 13 Aug 2014 21:01:45 +0000 (17:01 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 13 Aug 2014 21:01:45 +0000 (17:01 -0400)
output photos below the paragraphs

templates/toolbox.html

index 17b818f..fd335a9 100644 (file)
@@ -1,70 +1,72 @@
 {if:isHomePage}
-<!-- ######### Placeholder content ######### -->
-<h2 class="trees">{toolboxContent.primaryParagraph[title]}</h2>
-{toolboxContent.primaryParagraph[description]:h}
-<!-- ######### /Placeholder content ######### -->
+    <!-- ######### Placeholder content ######### -->
+    <h2 class="trees">{toolboxContent.primaryParagraph[title]}</h2>
+    {toolboxContent.primaryParagraph[description]:h}
+    <!-- ######### /Placeholder content ######### -->
 {else:}
-<!-- ######### Placeholder content ######### -->
-<div class="row">
-    {if:toolboxContent.primaryParagraph[image]}
-    <div class="small-12 medium-4 columns">
-        {toolboxContent.primaryParagraph[image]:h}
-    </div>
-    <div class="small-12 medium-8 columns">
-        <h2 class="left">{toolboxContent.primaryParagraph[title]}</h2>
-        {toolboxContent.primaryParagraph[description]:h}
-    </div>
-    {else:}
-    <div class="small-12 columns">
-        <h2 class="left">{toolboxContent.primaryParagraph[title]}</h2>
-        {toolboxContent.primaryParagraph[description]:h}
+    <!-- ######### Placeholder content ######### -->
+    <div class="row">
+        {if:toolboxContent.primaryParagraph[image]}
+        <div class="small-12 medium-4 columns">
+            {toolboxContent.primaryParagraph[image]:h}
+        </div>
+        <div class="small-12 medium-8 columns">
+            <h2 class="left">{toolboxContent.primaryParagraph[title]}</h2>
+            {toolboxContent.primaryParagraph[description]:h}
+        </div>
+        {else:}
+        <div class="small-12 columns">
+            <h2 class="left">{toolboxContent.primaryParagraph[title]}</h2>
+            {toolboxContent.primaryParagraph[description]:h}
+        </div>
+        {end:}
     </div>
+
+    {if:toolboxContent.profile}
+      {toolboxContent.profile:h}
     {end:}
-</div>
 
-{if:toolboxContent.profile}
-  {toolboxContent.profile:h}
-{end:}
+    {if:toolboxContent.searchForm}
+      {toolboxContent.searchForm:h}
+    {end:}
 
-{if:toolboxContent.searchForm}
-  {toolboxContent.searchForm:h}
-{end:}
+    {if:toolboxContent.searchResults}
+      {toolboxContent.searchResults:h}
+    {end:}
 
-{if:toolboxContent.searchResults}
-  {toolboxContent.searchResults:h}
-{end:}
+    {if:toolboxContent.staticPageContent}
+    <div class="row">
+      <div class="small-12 columns">
+      {toolboxContent.staticPageContent:h}
+      </div>
+    </div>
+    {end:}
 
-{if:toolboxContent.staticPageContent}
-<div class="row">
-  <div class="small-12 columns">
-  {toolboxContent.staticPageContent:h}
-  </div>
-</div>
-{end:}
-{if:toolboxContent.photos}
-{toolboxContent.photos:h}
-{end:}
 
-<div class="row" flexy:foreach="toolboxContent.secondaryParagraphs,section">
-    {if:section[image]}
-    <div class="small-12 medium-4 columns">
-        {section[image]:h}
-    </div>
-    <div class="small-12 medium-8 columns">
-        <h3>{section[title]}</h3>
-        {section[description]:h}
-        {section[files]:h}
-    </div>
-    {else:}
-    <div class="small-12 columns">
-        <h3>{section[title]}</h3>
-        {section[description]:h}
-        {section[files]:h}
+    <div class="row" flexy:foreach="toolboxContent.secondaryParagraphs,section">
+        {if:section[image]}
+        <div class="small-12 medium-4 columns">
+            {section[image]:h}
+        </div>
+        <div class="small-12 medium-8 columns">
+            <h3>{section[title]}</h3>
+            {section[description]:h}
+            {section[files]:h}
+        </div>
+        {else:}
+        <div class="small-12 columns">
+            <h3>{section[title]}</h3>
+            {section[description]:h}
+            {section[files]:h}
+        </div>
+        {end:}
     </div>
+    {if:toolboxContent.photos}
+      {toolboxContent.photos:h}
     {end:}
-</div>
-
 {end:}
+
+
 {if:toolboxContent.nav}
 <div id="sitemap">
   <ol>