Was this page helpful?

Tag.Name

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Result
    3. 3. Samples
    tag.Name : str
    

    Get the name of a tag.

    Usage Restrictions

    1.9.1 or later

    Result

    The name of the tag.

    Samples

      Output

    To get the name of the first tag on the page:

    {{ if(#page.tags) map.values(page.tags)[0].name; else "no tags on page"; }} 

     

    tag1

     

     

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

    Copyright © 2011 MindTouch, Inc. Powered by