Creates a meta robots element based on site configuration


Based on the configuration in your site's config.xml (as shown in the example), the STK will add a meta robots element to the current page. The path can be set both specifically and recursively. If recursive="true", then all URLs that starts with the src attribute will get the given robots setting. If recursive="false" or not set, only the exact URL match will get the robots setting.



<!-- Example configuration -->
        <path src="/articles" recursive="true" content="noindex, nofollow"/>
        <path src="/events" content="noindex"/>

<!-- Output in head -->
<xsl:call-template name="stk:head.create-robots-meta"/>