Docs X theme
This commit is contained in:
parent
27455f29e0
commit
7183a4cab2
|
@ -0,0 +1,7 @@
|
||||||
|
<?php
|
||||||
|
$GITHUB_BASE_URL = '__GITHUB_BASE_URL__';
|
||||||
|
|
||||||
|
if (!$Site->homepage()) {
|
||||||
|
echo 'This theme need a home page defined, please select one page on <b>Admin panel->Settings->Advanced->Home page</b>';
|
||||||
|
exit;
|
||||||
|
}
|
|
@ -1,5 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
|
@ -5,3 +5,7 @@
|
||||||
<div id="page-content">
|
<div id="page-content">
|
||||||
<?php echo $page->content(); ?>
|
<?php echo $page->content(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="text-right mt-5">
|
||||||
|
<a class="btn btn-primary" href="<?php echo $GITHUB_BASE_URL.$page->key().'/'.FILENAME ?>">Collaborate with us and edit this page</a>
|
||||||
|
</div>
|
Loading…
Reference in New Issue