/templates/type/page/view.tmpl
Type: /type/template
body: value: $def with (page)

$ title = page.title or page.key


$if title.startswith("i18n::") and title.count(':') == 3:
    $ namespace = title.split(':')[2]
    $ key = title.split(':')[3]
    $ title = i18n.get(namespace, key)

$var title: $title

$if '<!--suppress-title-->' not in page.body:
    <div id="header">
        <div style="float:left;padding-left:10px;padding-right:15px;"></div>
        <span class="pretitle"></span>
        <div id="title">$title</div>
    </div>

$ text = format(page.body)

$if utf8('<!--islist-->') in utf8(text):
    $:text
$else:
    <div class="contenttext">
    $:text
    </div>
    $:macros.SeeLanguage()
title: view template for /type/page