0.2.0 add footer, flag image and date updated
This commit is contained in:
parent
3a74901fb8
commit
7b41a1d395
6 changed files with 68 additions and 6 deletions
|
|
@ -9,9 +9,10 @@ define('PAGES_PATH', dirname(__DIR__) . '/pages');
|
|||
|
||||
|
||||
class PageLoader {
|
||||
protected string $name, $title;
|
||||
protected mixed $error;
|
||||
protected $updatedAt;
|
||||
protected string $name;
|
||||
protected string $title = '';
|
||||
protected mixed $error = false;
|
||||
protected mixed $updatedAt = false;
|
||||
protected string $raw_content;
|
||||
|
||||
public function __construct() {
|
||||
|
|
@ -129,4 +130,8 @@ class PageLoader {
|
|||
public function isIndex () {
|
||||
return $this->name === 'index';
|
||||
}
|
||||
|
||||
public function getUpdatedAt () {
|
||||
return $this->updatedAt;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue