remove themes

This commit is contained in:
Diego Najar 2017-12-18 20:46:16 +01:00
parent ff1abc1e36
commit f581c855f4
4 changed files with 11 additions and 5 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "bl-themes/clean-blog"]
path = bl-themes/clean-blog
url = git@github.com:bludit-themes/clean-blog.git

View File

@ -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');

View File

@ -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