8
0
daux.io/templates/content.php

36 Zeilen
1.2 KiB
PHP

2015-04-23 10:24:50 +02:00
<?php $this->layout('theme::layout/05_page') ?>
<article>
2015-07-19 16:36:34 +02:00
<?php if ($params['html']['date_modified']) { ?>
2015-04-23 10:24:50 +02:00
<div class="page-header sub-header clearfix">
<h1><?php
2015-07-20 15:59:52 +02:00
if ($page['breadcrumbs']) {
echo $this->get_breadcrumb_title($page, $base_page);
} else {
echo $page['title'];
}
2015-04-23 10:24:50 +02:00
?>
</h1>
<span style="float: left; font-size: 10px; color: gray;">
2015-07-20 15:59:52 +02:00
<?= date("l, F j, Y", $page['modified_time']); ?>
2015-04-23 10:24:50 +02:00
</span>
<span style="float: right; font-size: 10px; color: gray;">
2015-07-20 15:59:52 +02:00
<?= date("g:i A", $page['modified_time']); ?>
2015-04-23 10:24:50 +02:00
</span>
</div>
<?php } else { ?>
<div class="page-header">
<h1><?php
2015-07-20 15:59:52 +02:00
if ($page['breadcrumbs']) {
echo $this->get_breadcrumb_title($page, $base_page);
} else {
echo $page['title'];
}
2015-04-23 10:24:50 +02:00
?>
</h1>
</div>
<?php } ?>
2015-07-20 15:59:52 +02:00
<?= $page['content']; ?>
2015-04-23 10:24:50 +02:00
</article>