Was this page helpful?

Meta.Googlebot

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

    Add control statements for Google's search engine 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 googlebot control content.

    Result

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

    Samples

        Output

    Don't index the page but do follow all links from the page:

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

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

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

      

       

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

    Copyright © 2011 MindTouch, Inc. Powered by