Was this page helpful?

Link to a particular version of a page

    Table of contents
    No headers

    If you just want to transclude a given version of a page into another page, use the following code:

    {{ wiki.page{path: "Path/To/Your/Page", revision: "1"} }}

    Alternately, simply Insert Extension from the Edit menu of any page and pick wiki.page from the Built In menu.  You can specify revision number in the dialog.

    If what you want is a link, that when clicked goes to that particular revision, use: 

    {{ web.link(uri.build(page.uri, _, { revision: 2 }), page.title) }}   

    The above code creates the following link (for this page):

    Link to a particular version of a page

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

    Copyright © 2011 MindTouch, Inc. Powered by