Make content full height
This commit is contained in:
@@ -13,6 +13,14 @@
|
||||
'bg-white-green',
|
||||
]; $index = 0; ?>
|
||||
|
||||
<?php if ($page->text()->isNotEmpty()): ?>
|
||||
<div class="container bg-white-green">
|
||||
<div class="text-22">
|
||||
<?= $page->text()->kirbytext() ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<?php foreach ($page->children()->listed() as $page): ?>
|
||||
<?php $color = $colors[$index++ % 6] ; remember($color); ?>
|
||||
<section class="container calendar-entry <?= $color ?>">
|
||||
@@ -24,4 +32,8 @@
|
||||
</section>
|
||||
<?php endforeach ?>
|
||||
|
||||
<?php snippet('inline_footer') ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
@@ -6,4 +6,6 @@
|
||||
|
||||
<?php snippet('layouts', ['layouts' => $page->layout()->toLayouts()]) ?>
|
||||
|
||||
<?php snippet('inline_footer') ?>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
@@ -209,4 +209,4 @@ start()
|
||||
})
|
||||
</script>
|
||||
|
||||
<?php snippet('footer', ['dont_show_footer' => true]) ?>
|
||||
<?php snippet('footer') ?>
|
||||
@@ -8,4 +8,6 @@
|
||||
<?php snippet('layouts', ['layouts' => $page->layout()->toLayouts()]) ?>
|
||||
</div>
|
||||
|
||||
<?php snippet('inline_footer') ?>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
@@ -22,4 +22,6 @@
|
||||
|
||||
<?php snippet('layouts', ['layouts' => $page->layout()->toLayouts()]) ?>
|
||||
|
||||
<?php snippet('inline_footer') ?>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
Reference in New Issue
Block a user