schleifengarten-website/bl-themes/schleifengarten/php/page.php

28 lines
570 B
PHP
Raw Permalink Normal View History

2022-08-29 19:40:59 +02:00
<article class="post" id="page_content">
2022-08-29 19:19:13 +02:00
<!-- Plugins Page Begin -->
<?php Theme::plugins('pageBegin') ?>
<!-- Post's header -->
<header>
<div class="title">
<h1><?php echo $page->title() ?></h1>
<p><?php echo $page->description() ?></p>
</div>
</header>
<!-- Cover Image -->
<?php
if($page->coverImage()) {
2022-08-29 19:40:59 +02:00
echo '<img src="'.$page->coverImage().'" alt="Cover Image">';
2022-08-29 19:19:13 +02:00
}
?>
<!-- Post's content, the first part if has pagebrake -->
<?php echo $page->content() ?>
<!-- Plugins Page End -->
<?php Theme::plugins('pageEnd') ?>
2022-08-29 19:40:59 +02:00
</article>