/upstream/templates/site.tmpl
Type: /type/template
body: $def with (page)

$if not ctx.get("sent_head"):
    $:render_template("site/head.tmpl")

$if not ctx.get("sent_neck"):
    $:render_template("site/neck.tmpl", title=page.title)

$:render_template("site/body", page)

$:render_template("site/footer")

$if "stats" in ctx.features:
    <!--
    SUMMARY:
    
    $ stats = stats_summary()
    $for k in stats:
        $k: $:dict(stats[k])
    
    DETAILS:
    
    $for s in ctx.get("stats", []):
        $s.name $s.time
            $:s.data
    -->
plugin: openlibrary
m: edit