display page subtitle | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kiran_Vedantam

Hi @dolly 

 

When you have the subtitle authored in the page properties, you can fetch it in your java code and display it in the HTL. Check the below example: https://stackoverflow.com/questions/48079450/how-to-get-page-properties-using-sling-model-in-aem-6-3

 

Hope it helps.

 

Thanks,

Kiran Vedantam.

2 replies

DEBAL_DAS
New Member
February 28, 2022

1. First you need to check value like ./subtitle of the name property as shown in below screenshot associated with subtitle node of your project specific page (base page) component -

 

 

2. Then you need add ${pageProperties.subtitle} code in page component .html file. Then subtitle value will be displayed on page.

Debal Das, Senior AEM Consultant
Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
February 28, 2022

Hi @dolly 

 

When you have the subtitle authored in the page properties, you can fetch it in your java code and display it in the HTL. Check the below example: https://stackoverflow.com/questions/48079450/how-to-get-page-properties-using-sling-model-in-aem-6-3

 

Hope it helps.

 

Thanks,

Kiran Vedantam.