Robots meta tag property editor
This is a simple property editor, which allows the editor to change the content of the meta tag "robots".
It is currently made to have 3 different values, noodp is added all of the time, but it can be removed from the controller if needed.
the tree values are
- index,follow,noodp
- noindex,follow,noodp
- noindex,nofollow,noodp
With these tree values, the editor should be able to optimize for the searchengines. This package only contains the property editor, the implementor has to add a property to a document with the new datatype, and add the value to their templates. This could be done simply by adding a field to their master tempaltes like this:
<meta name="robots" content="@Umbraco.Field("robotsMetaTag", recursive: true)" />
For the above code to be meaningfull, add the property to atleast your home node, and set the appropriate value(probably index, follow, noopd). This will ensure that the tag is written out on all pages, with a proper content.
The package is developed for Umbraco 7.2.1, and should be compatable with all that supports the new Angular UI(Belle, 7.0+)