/upstream/templates/type/template/view.tmpl
Type: /type/template
body: value: $def with (page)

$ title = page.title or page.key

$ _x = ctx.setdefault("bodyid", "edit")

$var title: $title

$:macros.databarTemplate(page)

$: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.body, lang="html")
</div>
title: View Template code
plugin: openlibrary