plugin
upstream
Templates in the website are disabled now. Editing them will not have any effect on the live website.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
$def with (page, preview=False) $ edit = thingedit(page) $var title: $:edit.title $ __x = ctx.setdefault("robots", "noindex,nofollow") $:macros.databarEdit(page) $if preview: <div id="preview"> $:thingview(page) </div> $ flash_messages = get_flash_messages() $if flash_messages: <div id="flash_messages"> $for flash in flash_messages: <div class="$flash.type">$flash.message</div> </div> <div id="edit"> $:edit </div> |