2016-04-08 21:59:49 +00:00
|
|
|
<?php
|
|
|
|
// -------------------------------------------
|
|
|
|
// kirby template FOR jannikbeyerstedt.de
|
|
|
|
|
|
|
|
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
|
|
|
|
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
|
|
|
|
// -------------------------------------------
|
|
|
|
|
|
|
|
$img = $page->images()->find($page->featurette_img());
|
|
|
|
|
|
|
|
snippet('base/html-head');
|
|
|
|
snippet('base/cont-header');
|
|
|
|
?>
|
|
|
|
|
|
|
|
<main class="section webdesign">
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<div class="row featurette">
|
2017-08-18 23:35:03 +00:00
|
|
|
<div class="col-sm-9 col-12">
|
2016-04-08 21:59:49 +00:00
|
|
|
<h2 class="featurette-heading"><?php echo $page->featurette_headline()->html() ?></h2>
|
|
|
|
<p class="lead"><?php echo $page->featurette_text()->kirbytextRaw() ?></p>
|
|
|
|
</div>
|
2017-08-18 23:35:03 +00:00
|
|
|
<div class="col-sm-3 col-12">
|
2016-04-08 21:59:49 +00:00
|
|
|
<?php if ($img = $page->images()->find($page->featurette_img())) {
|
2016-10-15 16:55:48 +00:00
|
|
|
echo ThumbExt($img, ['width'=>235,'quality'=>70,'class'=>"img-fluid rounded",'alt'=>"Portrait",'inline-size'=>false]);
|
2016-04-08 21:59:49 +00:00
|
|
|
}?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php echo $page->text()->kirbytext(); ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<?php snippet('base/cont-footer') ?>
|
2016-10-28 21:32:29 +00:00
|
|
|
<?php snippet('base/html-end', []) ?>
|