Was this page helpful?

Meta.Robots

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    meta.Robots(content : str) : xml
    

    Add control statements for search engines to the page.

    Usage Restrictions

    1.9.1 or later.

    Requires UNSAFECONTENT permission in 9.2 and later.

    Parameters

    Name Type Description
    content str The robots control content.

    Result

    The robot control statements are displayed as part of the page metadata.

    Samples

        Output

    Add robot controls to your page (don't index the page but do follow all links from the page.):

    {{meta.robots("noindex, follow") }} 

    The change appears in the page's HTML head element:

    <meta name="robots" content="noindex, follow" />

       

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by