Macro is not working on PageTitle.

Vishal Bhatt asked on July 26, 2024 11:48

I am using Kentico 13 and adding the below macro for the page title in the metadata tab but it's not working. I am getting empty title.

{% CurrentDocument.DocumentName %}

Recent Answers


Juraj Ondrus answered on July 28, 2024 14:03

In Kentico 13 macros are not supported on the live site end - there is no macro engine in your front end app. For the metadata fields, please see the documentation to learn how to do it: Working with page metadata.
It also depends what "not working" meants. Are there any errors somewhere? What does the macro debug say? Do you have the current document context in the place where you are trying to resolve the macro?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.