I'd like to use a macro to print the name of the parent blog as part of the blog post's title.
Here is what I'd like to do:
1. Go to the Blog Month document of the blog post.
2. Go to Properties > Metadata.
3. Under Page Title Uncheck "inherit".
4. In page title put the following macro:
{%documentname%} - {% CMS.Blogs.BlogHelper.GetParentBlog(Eval<int>("DocumentID"), false).DocumentName %}
This will set the page title of all the blog posts in that month to be Document Name - Blog Name.
Unfortunately, this doesn't work. I get an error that says: "[MacroExpression.Evaluate]: 'GetParentBlog' is not a known method name." Is there any way to do this?
Thanks,
Scott