Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Making template vars explicit #41

Merged
merged 1 commit into from

2 participants

Daniel Hensby Aram Balakjian
Daniel Hensby
Collaborator

No description provided.

Aram Balakjian arambalakjian merged commit 19f30c5 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 23, 2013
  1. Daniel Hensby

    Making template vars explicit

    dhensby authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 templates/Layout/DataObjectAsPageHolder.ss
6 templates/Layout/DataObjectAsPageHolder.ss
View
@@ -1,6 +1,6 @@
<div class="typography">
- <% if Children %>
+ <% if $Children %>
<% include SideBar %>
<div id="Content">
<% end_if %>
@@ -8,7 +8,7 @@
<% 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>
Something went wrong with that request. Please try again.