- added SEO-URL-Mode

- added Language support
This commit is contained in:
Maurice Grönwoldt 2020-07-24 11:08:07 +02:00
commit ccf2f506f0
13 changed files with 201 additions and 7 deletions

View file

@ -1,8 +1,10 @@
<?php
use Venom\Config;
use Venom\Registry;
use Venom\Views\Asset;
$reg = Registry::getInstance();
$lang = $reg->getLang();
?>
<!doctype html>
<html lang="en">
@ -18,9 +20,12 @@ use Venom\Views\Asset;
</head>
<body>
<header>
VenomCMS
<?=$lang->getTranslation("HEADLINE");?>
</header>
<?= $this->templateData ?>
<?php
$lang->getTranslation("TEST_TRANSLATION");
echo $this->templateData;
?>
<?php
Asset::get()->renderJS();
?>