bludit/bl-themes/docs/php/post.php
2017-07-09 22:59:54 +02:00

31 lines
738 B
PHP

<h1 class="subhead"><?php echo $Language->get('Post') ?></h1>
<section class="post">
<!-- Plugins Post Begin -->
<?php Theme::plugins('postBegin') ?>
<!-- Post header -->
<header class="post-header">
<!-- Post title -->
<h2 class="post-title">
<a href="<?php echo $Post->permalink() ?>"><?php echo $Post->title() ?></a>
</h2>
<!-- Post date and author -->
<div class="post-meta">
<span class="date"><?php echo $Post->date() ?></span>
</div>
</header>
<!-- Post content -->
<div class="post-content">
<?php echo $Post->content() ?>
</div>
<!-- Plugins Post End -->
<?php Theme::plugins('postEnd') ?>
</section>