Permalink
Browse files

Making template vars explicit

  • Loading branch information...
1 parent 0cfd85a commit ecb53eb7f9cedf652fedebe9798aad8680a3081a @dhensby dhensby committed Oct 23, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 templates/Layout/DataObjectAsPageHolder.ss
View
6 templates/Layout/DataObjectAsPageHolder.ss
@@ -1,14 +1,14 @@
<div class="typography">
- <% if Children %>
+ <% if $Children %>
<% include SideBar %>
<div id="Content">
<% end_if %>
<% include BreadCrumbs %>
<ul class="itemList">
- <% loop Items %>
+ <% loop $Items %>
<li>
<h2><a href="$Link">$Title</a></h2>
<p>$Content.FirstParagraph</p>
@@ -19,7 +19,7 @@
<% include ItemPagination %>
- <% if Children %>
+ <% if $Children %>
</div>
<% end_if %>
</div>

0 comments on commit ecb53eb

Please sign in to comment.