bludit/themes/pure/php/post.php

44 lines
1.2 KiB
PHP
Raw Normal View History

2015-07-20 05:14:12 +02:00
<h1 class="subhead"><?php echo $Language->get('Post') ?></h1>
2015-03-08 18:02:59 +01:00
<section class="post">
2015-07-07 06:24:51 +02:00
2015-08-07 04:13:55 +02:00
<!-- Plugins Post Begin -->
<?php Theme::plugins('postBegin') ?>
2015-07-07 06:24:51 +02:00
<!-- Post header -->
2015-03-08 18:02:59 +01:00
<header class="post-header">
2015-07-07 06:24:51 +02:00
<!-- Post title -->
2015-03-08 18:02:59 +01:00
<h2 class="post-title">
2015-07-07 06:24:51 +02:00
<a href="<?php echo $Post->permalink() ?>"><?php echo $Post->title() ?></a>
2015-03-08 18:02:59 +01:00
</h2>
2015-07-07 06:24:51 +02:00
<!-- Post date and author -->
<div class="post-meta">
2015-08-26 05:42:32 +02:00
<span class="date"><?php echo $Post->date() ?></span>
2015-07-07 06:24:51 +02:00
<span class="author">
<?php
echo $Language->get('Posted By').' ';
2015-11-16 05:20:58 +01:00
if( Text::isNotEmpty($Post->authorFirstName()) || Text::isNotEmpty($Post->authorLastName()) ) {
2015-11-11 22:13:32 +01:00
echo $Post->authorFirstName().' '.$Post->authorLastName();
2015-07-07 06:24:51 +02:00
}
else {
echo $Post->username();
}
?>
</span>
</div>
2015-03-08 18:02:59 +01:00
</header>
2015-07-07 06:24:51 +02:00
<!-- Post content -->
<div class="post-content">
2015-03-08 18:02:59 +01:00
<?php echo $Post->content() ?>
</div>
2015-07-07 06:24:51 +02:00
2015-08-07 04:13:55 +02:00
<!-- Plugins Post End -->
<?php Theme::plugins('postEnd') ?>
</section>