- added SEO-URL-Mode
- added Language support
This commit is contained in:
parent
fe7bacd2f6
commit
ccf2f506f0
13 changed files with 201 additions and 7 deletions
|
|
@ -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();
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue