Was this page helpful?

Tag.Prefix

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

    Get the prefix of a tag.

    Usage Restrictions

    1.9.1 or later

    Result

    The prefix of the tag.

    Samples

      Output

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

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

     

    define:

     

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

    Copyright © 2011 MindTouch, Inc. Powered by