diff options
Diffstat (limited to 'html/app/views/basic.php')
| -rw-r--r-- | html/app/views/basic.php | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/html/app/views/basic.php b/html/app/views/basic.php new file mode 100644 index 0000000..3d9abde --- /dev/null +++ b/html/app/views/basic.php @@ -0,0 +1,53 @@ +<?php ob_start(); ?><!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>ΣΚΛΑΒΕΝΙΤΗΣ - <?=$page['title']?></title> + + <!-- import assets --> + <?php link_asset( + 'font', + ['iconfont', 'CFAstyStdBold', 'CFAstyStdBook', 'CFAstyStdMedium'], + 'crossorogin' + ) ?> + + <?php link_asset('css', ['main']); ?> + + <!-- TODO: parse seo data --> + + +</head> +<body class="homepage" data-plugin-lazyload> + + <div class="mainContainer"> + + <div class="mainLayer"></div> + + + <!-- header --> + < ?php cache_view('partials/header', []); ? > + <?php ob_flush(); ?> + + + <!-- main content --> + <main class="main"> + + <?php parse_sections( $page['sections'] ); ?> + + </main> + <?php ob_flush(); ?> + + + <!-- footer --> + < ?php cache_view('partials/footer', [], true) ? > + + </div> + + <!-- scripts --> + <?php link_asset('js', + ['require.files', 'require.slim', 'plugins.min', 'plugins.setup' ] + ); ?> + +</body> +</html><?php ob_flush(); ?> |
