1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-12 16:14:16 +02:00

Default theme: From now we are using View Class for Flextype themes

This commit is contained in:
Awilum
2018-04-22 01:32:17 +03:00
parent 43999d0eac
commit cdb56e2f03
3 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
<?php Flextype\Templates::display('partials/head'); ?>
<?php Flextype\View::factory('partials/head')->display(); ?>
<?php echo $page['content']; ?>
<?php Flextype\Templates::display('partials/footer'); ?>
<?php Flextype\View::factory('partials/footer')->display(); ?>

View File

@@ -1,5 +1,5 @@
<?php Flextype\Templates::display('partials/tail'); ?>
<?php Flextype\View::factory('partials/tail')->display(); ?>
<div class="powered">
Powered by <a href="http://flextype.org">Flextype</a>

View File

@@ -20,5 +20,5 @@
<?php Flextype\Events::dispatch('onThemeHeader'); ?>
</head>
<body>
<?php Flextype\Templates::display('partials/navigation'); ?>
<?php Flextype\View::factory('partials/navigation')->display(); ?>
<main role="main" class="container content">