If we have the page policy model inside velocity template we can very easily get a lot of page attributes:
- If you are in a the article context we can get the parent page (seciton name) using the following:
$content.sectionName
- If you are in a the article context we can get the parent page ID (seciton ID) using the following:
$content.parentId
Comments
Post a Comment