.htaccess + more pages & routes

This commit is contained in:
2020-06-20 15:49:53 +02:00
parent abb8b07a02
commit b2cb0c4bf3
18 changed files with 244 additions and 25 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace Elements;
abstract class SimpleBody extends Body {
public function __construct($document) {
parent::__construct($document);
}
public function getCode() {
$content = $this->getContent();
return parent::getCode() . "<body>$content</body>";
}
protected abstract function getContent();
}