praiadeseselle/site/templates/bs-inicio.php

15 lines
700 B
PHP
Raw Normal View History

<?php namespace ProcessWire; ?>
<?php include('./layout/partial/bs_nav.php'); ?>
<?php include('./layout/partial/bs_head.php'); ?>
<?php include('./layout/partial/bs_foot.php'); ?>
<article id="inicio" class="container" pw-append="contido">
<div class="contedor">
<h2 class="visually-hidden"><?php echo ucfirst($inicio->title); ?></h2>
<?php if($configuracion['mantemento']['activo'] && !$user->isLoggedin()): ?>
<?php echo renderTextoMantemento($configuracion['mantemento']['titular'], $configuracion['mantemento']['artigo'], $configuracion['mantemento']['imaxe']) ?>
<?php else: ?>
<?php echo getSeccions($inicio->seccions); ?>
<?php endif; ?>
</div>
</article>