remove themes
This commit is contained in:
parent
ff1abc1e36
commit
f581c855f4
|
@ -1,3 +0,0 @@
|
||||||
[submodule "bl-themes/clean-blog"]
|
|
||||||
path = bl-themes/clean-blog
|
|
||||||
url = git@github.com:bludit-themes/clean-blog.git
|
|
|
@ -57,7 +57,7 @@ define('REMEMBER_COOKIE_TOKEN', 'BLUDITREMEMBERTOKEN');
|
||||||
define('REMEMBER_COOKIE_EXPIRE_IN_DAYS', 30);
|
define('REMEMBER_COOKIE_EXPIRE_IN_DAYS', 30);
|
||||||
|
|
||||||
// Filename
|
// Filename
|
||||||
define('FILENAME', 'index.txt');
|
define('FILENAME', 'index.md');
|
||||||
|
|
||||||
// Database date format
|
// Database date format
|
||||||
define('DB_DATE_FORMAT', 'Y-m-d H:i:s');
|
define('DB_DATE_FORMAT', 'Y-m-d H:i:s');
|
||||||
|
|
|
@ -440,7 +440,17 @@ class Page {
|
||||||
|
|
||||||
return $tmp;
|
return $tmp;
|
||||||
}
|
}
|
||||||
|
public function subpages()
|
||||||
|
{
|
||||||
|
return $this->children();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns TRUE if the page has subpages/children, FALSE otherwise
|
||||||
|
public function hasSubpages()
|
||||||
|
{
|
||||||
|
$subpages = $this->subpages();
|
||||||
|
return !empty($subpages);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Returns relative time (e.g. "1 minute ago")
|
// Returns relative time (e.g. "1 minute ago")
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 1620e2f4640cf1dfcd04e2018e6e17b81d7b7e62
|
|
Loading…
Reference in New Issue