How to generate metatag headers from CQ5 Tags
Last updated on May 18, 2021 03:15:01 AM GMT
How do we generate meta tag keywords off of CQ5 tags?
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) %>" />