Docs X theme
This commit is contained in:
parent
27455f29e0
commit
7183a4cab2
7
bl-themes/docsx/init.php
Normal file
7
bl-themes/docsx/init.php
Normal file
@ -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 id="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>
|
Loading…
Reference in New Issue
Block a user