2017-11-08 23:12:58 +01:00
|
|
|
<section class="content">
|
2020-07-28 20:12:22 +02:00
|
|
|
<article class="page">
|
|
|
|
<header>
|
|
|
|
<?php if ( $page->title() ): ?>
|
|
|
|
<h2>
|
|
|
|
<a href="<?php echo htmlentities($page->permalink(), ENT_QUOTES | ENT_HTML401)?>">
|
|
|
|
<?php
|
|
|
|
echo htmlentities( $page->title() );
|
|
|
|
?>
|
|
|
|
</a>
|
|
|
|
</h2>
|
|
|
|
<?php endif; ?>
|
|
|
|
</header>
|
|
|
|
<?php if ($page->coverImage()): ?>
|
|
|
|
<img src="<?php echo htmlentities($page->coverImage(), ENT_QUOTES | ENT_HTML401); ?>" alt="<?php echo htmlentities($page->slug(), ENT_QUOTES | ENT_HTML401); ?>"/>
|
|
|
|
<?php endif ?>
|
2017-11-08 23:12:58 +01:00
|
|
|
|
2020-07-28 20:12:22 +02:00
|
|
|
<?php echo $page->content() ?>
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
<?php echo $page->date() ?>
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<?php include(THEME_DIR_PHP.'pagination.php'); ?>
|