Hi all,
I'm trying to modify the Confluence Main Layout template to retrieve values from a page properties macro. My goal is to retrieve those values, should they exist, and include them in the Main Layout template within the head tag.
Specifically, I plan to create a page properties macro with a seoTitle and seoDescription field and then use that to populate the <title> and <meta name="description"> tag.
Can anyone explain how to access the page properties macro from within the layout velocity templates so that I can do the above.
Thanks in advance!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.