<%= input.displayTitle || input.title %>
<% .preamble %>
<%
for (
var
listingNo = -1,
listings = input.listings,
listingsLength = listings.length,
imageFolder = input.imageFolder || input.title.toLowerCase ()
;
++listingNo < listingsLength;
) {
var
listing = listings [listingNo],
listingName = listing.fullName,
listingSubTitle = listing.subTitle || '',
listingNamePlusSubTitle = listingName + (listingSubTitle && ' - ') + listingSubTitle,
moreInfoLink = listing.link
;
%>
<%= listingNamePlusSubTitle %>
<% if (moreInfoLink) { %><% } %><% if (moreInfoLink) { %><% } %>
<% for (
var lineNo = -1, lines = Uize.Str.Lines.split (listing.text), linesLength = lines.length;
++lineNo < linesLength;
) { %>
<% } %>
<%= lines [lineNo] %>
<% } %> <% if (moreInfoLink) { %>more info at... <%= moreInfoLink %>
<% } %>