praiadeseselle/site/templates/_main.php

18 lines
452 B
PHP
Raw Normal View History

2022-03-09 18:09:44 +01:00
<?php namespace ProcessWire;
include('./_head.php');
?>
<main id="contido">
2022-03-10 01:47:18 +01:00
<div class="contedor">
<h2 class="visually-hidden"><?php echo _x('Content', 'Main content');?></h2>
2022-03-09 18:09:44 +01:00
<?php
echo $contido;
?>
<?php if($page->editable()): ?>
2022-03-10 01:47:18 +01:00
<p><a href="<?php echo $page->editURL; ?>">Edit</a></p>
2022-03-09 18:09:44 +01:00
<?php endif; ?>
2022-03-10 01:47:18 +01:00
</div>
2022-03-09 18:09:44 +01:00
</main>
<?php
include('./_foot.php');
?>