diff options
Diffstat (limited to 'html/processed-views/base.php')
| -rw-r--r-- | html/processed-views/base.php | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/html/processed-views/base.php b/html/processed-views/base.php new file mode 100644 index 0000000..76c4966 --- /dev/null +++ b/html/processed-views/base.php @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8" /><?php ob_flush(); ?> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title><?= $data['title'] ?? 'ΣΚΛΑΒΕΝΙΤΗΣ' ?></title> + + <!-- import fonts --> + <?php link_asset( 'font', [ + 'iconfont', 'CFAstyStdBold', 'CFAstyStdBook', 'CFAstyStdMedium' + ], 'rel="preload" crossorigin' + ); ?> + + <!-- import css --> + <?php link_asset('css', ['main', 'overides']); ?> + +</head> +<body class="homepage" data-plugin-lazyload> + + <div class="mainContainer"> + <div class="mainLayer"> + </div> + + <?php render_view('partials/header',[]); ?> + <?php ob_flush(); ?> + + + <main class="main"> + + <?php + parse_sections( $page['sections'] ); + ?> + + </main> + <?php ob_flush(); ?> + + <?php render_view('partials/footer', []); ?> + + </div> + + <!-- scripts --> + <?php link_asset('js', [ + 'require/files', 'require/slim', + 'plugins', 'plugins/setup' + ] + ); ?> + +</body> +</html> +<?php ob_flush(); ?>
\ No newline at end of file |
