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

View file

@ -0,0 +1,18 @@
<?php
// -------------------------------------------
// kirby template FOR jannikbeyerstedt.de
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
// -------------------------------------------
$target = $page->target()->url();
if ($page->red_type() == 'temp') {
$code = 302;
}else if ($page->red_type() == 'perm') {
$code = 301;
}else {
$code = 302;
}
header::redirect($target, $code);
?>