Minor changes on get slug from content
This commit is contained in:
parent
7c55ac704c
commit
75527cd2ec
|
@ -154,7 +154,7 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
|
|||
|
||||
// Parent input
|
||||
// Check if the page has children
|
||||
if(count($page->children())===0) {
|
||||
if(count($page->children())==0) {
|
||||
$options = array();
|
||||
$parentsList = $dbPages->getParents();
|
||||
$parentsKey = array_keys($parentsList);
|
||||
|
|
|
@ -111,7 +111,7 @@ define('CLI_STATUS', 'published');
|
|||
define('CLI_USERNAME', 'admin');
|
||||
|
||||
// Filename
|
||||
define('FILENAME', 'index.md');
|
||||
define('FILENAME', 'index.txt');
|
||||
|
||||
// Database date format
|
||||
define('DB_DATE_FORMAT', 'Y-m-d H:i:s');
|
||||
|
|
|
@ -591,6 +591,7 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
|
|||
<!-- CSS -->
|
||||
<link rel="stylesheet" type="text/css" href="bl-kernel/admin/themes/default/css/uikit/uikit.almost-flat.min.css?version=<?php echo time() ?>">
|
||||
<link rel="stylesheet" type="text/css" href="bl-kernel/admin/themes/default/css/installer.css?version=<?php echo time() ?>">
|
||||
<link rel="stylesheet" type="text/css" href="bl-kernel/css/font-awesome/css/font-awesome.min.css?version=<?php echo time() ?>">
|
||||
|
||||
<!-- Javascript -->
|
||||
<script charset="utf-8" src="bl-kernel/js/jquery.min.js?version=<?php echo time() ?>"></script>
|
||||
|
|
Loading…
Reference in New Issue