I am trying to use this in the <title>...</title> tag in the <header> of a page that displays one entry at a time:
{exp:weblog:info weblog="{my_weblog}"}{blog_title}{/exp:weblog:info}
{exp:weblog:entries require_entry="yes" limit="1"
disable="categories|custom_fields|member_data|pagination|trackbacks"}
| {title}{/exp:weblog:entries}
I hoped that it would display this: “My Weblog Name | The Entry Title”
But instead it displays the weblog name, followed by the entry title, followed by a whole lot of junk from the RDF tag. Curiously, when I put the identical EXP tags in the page (rather than in the header) they display just what I expected.
Any ideas why this tag should behave so differently in different contexts? Any suggested fixes? (I’m developing on Safari).
Thank you.
