Use shortdesc for Meta description in AEM site generation | Community
Skip to main content
August 20, 2023

Use shortdesc for Meta description in AEM site generation

  • August 20, 2023
  • 2 replies
  • 624 views

By default it looks like for AEM Site generation the meta description in the header is getting added byfmdita/components/dita/head

And is looking for jcr:description.

I expected that somewhere in the publish that shortdesc would have been set in the AEM site files as the jcr:description but that does not appear to be the case.  

Should that be expected behavior?

 

The shortdesc ends up in the published node structure so we could look to pull that property instead of the default.
Any pitfalls or concerns with taking that approach?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Adobe Employee
August 24, 2023

Hi @jleddy99 
shortdesc is mapped to wrapper component which can remapped to a different component as per your requirement using elementmapping config located at /libs/fmdita/config/elementmapping.xml 

 

kautuk_sahni
Community Manager
Community Manager
January 8, 2024

@jleddy99 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni