This commit is contained in:
parent
e7da4d77b5
commit
20bdf428e4
25 changed files with 648 additions and 88 deletions
|
|
@ -1,2 +1,27 @@
|
|||
<?php snippet('header') ?>
|
||||
<?php snippet('footer') ?>
|
||||
<main class="main__single">
|
||||
|
||||
<header class="page__header">
|
||||
<h2 class="page__title"><?= $page->title()->esc() ?></h2>
|
||||
</header>
|
||||
|
||||
<?php $definitions = $page->definitions()->toStructure() ?>
|
||||
<?php if ($definitions->isNotEmpty()): ?>
|
||||
<dl class="dl-table" id="legal-notices__dl">
|
||||
<?php foreach ($definitions as $item): ?>
|
||||
<div class="dl__group">
|
||||
<dt><?= $item->term()->esc() ?></dt>
|
||||
<dd><?= $item->definition() ?></dd>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</dl>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($page->body()->isNotEmpty()): ?>
|
||||
<div class="page__content">
|
||||
<?= $page->body()->toBlocks() ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
</main>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue