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:
@@ -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(); ?>
|
||||
|
@@ -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>
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user