1
0
Fork 0

[SITE] add template, blueprint, css for photo pages

This commit is contained in:
Jannik Beyerstedt 2016-04-05 18:38:00 +02:00
parent e810aa8071
commit c79ea83e0d
20 changed files with 542 additions and 705 deletions

31
site/templates/photo.php Normal file
View file

@ -0,0 +1,31 @@
<?php
// -------------------------------------------
// kirby template FOR jannikbeyerstedt.de
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
// -------------------------------------------
snippet('base/html-head');
snippet('base/cont-header');
?>
<main class="section photo">
<?php echo snippet('plg-carousel', array('currentPage'=>$page,
'preNormal'=>'',
'preAlt'=>'')); ?>
<div class="container">
<?php echo $page->text()->kirbytext(); ?>
</div>
<?php echo snippet('plg/plg-masonry-sb', array('currentPage'=>$page)) ; ?>
<div class="container">
<?php echo $page->text2()->kirbytext(); ?>
</div>
</main>
<?php snippet('base/cont-footer') ?>
<?php snippet('base/html-end') ?>