/upstream/templates/type/macro/view.tmpl
Type: /type/template
body: value: $def with (page)

$var title: $page.title

$:macros.databarTemplate(page)

$ _x = ctx.setdefault('bodyid', 'edit')
 
$:render_template("lib/view_head", page)

<div id="contentBody">
    <div>
        <span class="title">plugin</span>
        <span class="tag">$page.get("plugin", "upstream")</span>
    </div>
    $:macros.DisplayCode(page.macro)
</div>
title: Macro (view source)
plugin: openlibrary