2017-07-11 23:53:53 +02:00
|
|
|
<h1 class="subhead">
|
|
|
|
<?php
|
2017-07-13 00:44:39 +02:00
|
|
|
$parentKey = $page->parentKey();
|
|
|
|
echo $pagesByParentByKey[PARENT][$parentKey]->title();
|
2017-07-11 23:53:53 +02:00
|
|
|
echo ' -> ';
|
|
|
|
echo $page->title();
|
|
|
|
?>
|
|
|
|
</h1>
|
2017-07-09 22:59:54 +02:00
|
|
|
|
|
|
|
<section class="page">
|
2017-07-11 23:53:53 +02:00
|
|
|
<?php Theme::plugins('pageBegin') ?>
|
2017-07-09 22:59:54 +02:00
|
|
|
|
2017-07-11 23:53:53 +02:00
|
|
|
<header class="page-header">
|
|
|
|
<h2 class="page-title">
|
2017-07-13 00:44:39 +02:00
|
|
|
<?php echo $Page->title() ?>
|
2017-07-11 23:53:53 +02:00
|
|
|
</h2>
|
|
|
|
</header>
|
2017-07-09 22:59:54 +02:00
|
|
|
|
2017-07-11 23:53:53 +02:00
|
|
|
<div class="page-content">
|
|
|
|
<?php echo $Page->content() ?>
|
|
|
|
</div>
|
2017-07-09 22:59:54 +02:00
|
|
|
|
2017-07-11 23:53:53 +02:00
|
|
|
<div class="edit-this-page">
|
|
|
|
<?php
|
2017-07-13 00:44:39 +02:00
|
|
|
echo '<a class="pure-button pure-button-primary" href="'.$GITHUB_BASE_URL.$Page->key().'/'.FILENAME.'"><i class="fa fa-pencil"></i> Edit this page</a>';
|
|
|
|
echo '<a class="pure-button" href="'.$GITHUB_BASE_URL.$Page->key().'/'.FILENAME.'"><i class="fa fa-info-circle"></i> How to edit this page ?</a>';
|
2017-07-11 23:53:53 +02:00
|
|
|
?>
|
|
|
|
</div>
|
2017-07-09 22:59:54 +02:00
|
|
|
|
2017-07-11 23:53:53 +02:00
|
|
|
<?php Theme::plugins('pageEnd') ?>
|
2017-07-09 22:59:54 +02:00
|
|
|
</section>
|