bludit/themes/pure-clean/php/page.php

36 lines
969 B
PHP
Raw Normal View History

2015-07-07 03:05:17 +02:00
<h1 class="subhead">Page</h1>
2015-07-07 00:22:03 +02:00
<section class="page">
2015-07-07 03:05:17 +02:00
<!-- page header -->
<header class="page-header">
<!-- page title -->
<h2 class="page-title">
<a href="<?php echo $Page->permalink() ?>"><?php echo $Page->title() ?></a>
</h2>
<!-- page date and author -->
<div class="page-meta">
<span class="author">
<?php
echo $Language->get('Posted By').' ';
if( Text::isNotEmpty($Page->authorFirstName()) && Text::isNotEmpty($Page->authorLastName()) ) {
echo $Page->authorFirstName().', '.$Page->authorLastName();
}
else {
echo $Page->username();
}
?>
</span>
</div>
2015-07-07 00:22:03 +02:00
</header>
2015-07-07 03:05:17 +02:00
<!-- page content -->
2015-07-07 00:22:03 +02:00
<div class="page-content">
<?php echo $Page->content() ?>
</div>
2015-07-07 03:05:17 +02:00
2015-07-07 00:22:03 +02:00
</section>