I got a great, simple solution from RedDot Support today. Simply use
the Info placeholder with "Content" set to "Page: Site Map Name" then
check the "Use data of page in target container" option. For example,
the Foundation template would have a line like this:
<title><%hdl_SectionTitle%>: <%inf_PageSiteMapNameOfTarget%></title>
"Site Map Name" is always set to the Headline by default if there isn't
one filled in in the Page properties, so this totally works.
Google search will totally love this fix ;-)
Cheers,
Jonathan
Another trick we use here with rexecuting code is that in the inner
template we'll define a function called getTitle()
function getTitle ()
getTitle = "<%hdl_headline%>"
end function
and then in the outer template we'll do something like
<%
innerTitle = getTitle()
Response.write("<title>UNICEF - " & innerTitle & "</title>")
%>
since asp will error out if you call an undefined function, i also
like to define the getTitle function in the outer template, setting
getTitle = '' just in case the inner template doesn't have getTitle()
in it.
And i'm just writing the code from memory, so don't quote me on it
- Luca