Was this page helpful?

Tag.Value

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Result
    3. 3. Samples
    tags.Value : str
    

    Get the value of a tag.

    Usage Restrictions

    1.9.1 or later

    Result

    The value of the tag.

    Samples

      Output

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

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

     

    sample-tag

     

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

    Copyright © 2011 MindTouch, Inc. Powered by