Forget Hooks for page and post template

This commit is contained in:
Frédéric K 2015-07-23 13:07:13 +02:00
parent 5b8b29bacf
commit 53b92fc1b2
2 changed files with 10 additions and 2 deletions

6
themes/pure/php/page.php Normal file → Executable file
View File

@ -1,7 +1,9 @@
<h1 class="subhead">Page</h1>
<h1 class="subhead"><?php echo $Language->get('Page') ?></h1>
<section class="page">
<?php Theme::plugins('beforePagesLoad'); // Plugin ?>
<!-- page header -->
<header class="page-header">
@ -16,5 +18,7 @@
<div class="page-content">
<?php echo $Page->content() ?>
</div>
<?php Theme::plugins('afterPagesLoad'); // Plugin ?>
</section>

6
themes/pure/php/post.php Normal file → Executable file
View File

@ -1,7 +1,9 @@
<h1 class="subhead">Post</h1>
<h1 class="subhead"><?php echo $Language->get('Post') ?></h1>
<section class="post">
<?php Theme::plugins('beforePostsLoad'); // Plugin ?>
<!-- Post header -->
<header class="post-header">
@ -34,4 +36,6 @@
<?php echo $Post->content() ?>
</div>
<?php Theme::plugins('afterPostsLoad'); // Plugin ?>
</section>