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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
|
@ -4,4 +4,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="page-content">
|
<div id="page-content">
|
||||||
<?php echo $page->content(); ?>
|
<?php echo $page->content(); ?>
|
||||||
|
</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>
|
</div>
|
Loading…
Reference in New Issue