I would like to use blc:head processor to inject meta tags like meta robots. In your class HeadProcessor there is a comment :
Code: Select all
/**
* A Thymeleaf processor that will include the standard head element. It will also set the
* following variables for use by the head fragment.
*
* <ul>
* <li><b>pageTitle</b> - The title of the page</li>
* <li><b>additionalCss</b> - An additional, page specific CSS file to include</li>
* <li><b>metaDescription</b> - Optional, Content for the Meta-Description tag</li>
* <li><b>metaKeywords</b> - Optional, Content for the Meta-Keywords tag</li>
* <li><b>metaRobot</b> - Optional, Content for the Meta-Robots tag</li>
* </ul>
*
* @author apazzolini
*/
but even if if write the code below :
Code: Select all
<blc:head pageTitle="'PageName'" metaRobot="noindex, follow" />
The meta tag is not present in my page. So how to use your metaRobot parameter ?
Thanks in advance