Question

How do we generate meta tag keywords off of CQ5 tags?

Answer, Resolution

In order for the meta tags to be generated off of the tagging info then either your page components must inherit from foundation/components/page so that foundation/components/page/head.jsp is utilized by your application.

Or you must add this code to the <head> in your jsp in your application

<meta name="keywords" content="<%= WCMUtils.getKeywords(currentPage) %>" />

Applies to

CQ5.3

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책