2018-01-25 23:58:42 +01:00
|
|
|
<!DOCTYPE html>
|
2021-03-19 20:48:04 +01:00
|
|
|
<html lang="<?php echo HTML::lang() ?>">
|
2018-01-25 23:58:42 +01:00
|
|
|
<head>
|
2021-11-22 10:57:27 +01:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="generator" content="Bludit">
|
2019-06-02 20:10:55 +02:00
|
|
|
|
2021-11-22 10:57:27 +01:00
|
|
|
<!-- Generate <title>...</title> -->
|
|
|
|
<?php echo HTML::metaTagTitle(); ?>
|
2019-06-02 20:10:55 +02:00
|
|
|
|
2021-11-22 10:57:27 +01:00
|
|
|
<!-- Generate <meta name="description" content="..."> -->
|
|
|
|
<?php echo HTML::metaTagDescription(); ?>
|
2019-06-02 20:10:55 +02:00
|
|
|
|
2021-11-22 10:57:27 +01:00
|
|
|
<!-- Generate <link rel="icon" href="..."> -->
|
|
|
|
<?php echo HTML::favicon('img/favicon.png'); ?>
|
2019-06-02 20:10:55 +02:00
|
|
|
|
2021-11-22 10:57:27 +01:00
|
|
|
<!-- Include CSS Bootstrap file from Bludit Core -->
|
|
|
|
<?php echo HTML::cssBootstrap(); ?>
|
2019-06-02 20:10:55 +02:00
|
|
|
|
2021-11-22 10:57:27 +01:00
|
|
|
<!-- Include CSS Bootstrap ICONS file from Bludit Core -->
|
|
|
|
<?php echo HTML::cssBootstrapIcons(); ?>
|
2019-06-02 20:10:55 +02:00
|
|
|
|
2021-11-22 10:57:27 +01:00
|
|
|
<!-- Include CSS Styles from this theme -->
|
|
|
|
<?php echo HTML::css('css/style.css'); ?>
|
|
|
|
|
|
|
|
<!-- Enable or disable Google Fonts from theme's settings -->
|
|
|
|
<?php if ($theme->googleFonts()): ?>
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:sans,bold">
|
|
|
|
<style>
|
|
|
|
body { font-family: "Open Sans", sans-serif; }
|
|
|
|
</style>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<!-- Execute Bludit plugins for the hook "Site head" -->
|
|
|
|
<?php execPluginsByHook('siteHead'); ?>
|
2018-01-25 23:58:42 +01:00
|
|
|
</head>
|
2018-02-01 00:34:16 +01:00
|
|
|
<body>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
2018-01-28 23:33:50 +01:00
|
|
|
<!-- Load Bludit Plugins: Site Body Begin -->
|
2021-03-19 20:48:04 +01:00
|
|
|
<?php execPluginsByHook('siteBodyBegin'); ?>
|
2018-01-28 23:33:50 +01:00
|
|
|
|
2018-01-27 20:34:26 +01:00
|
|
|
<!-- Navbar -->
|
2018-01-28 23:33:50 +01:00
|
|
|
<?php include(THEME_DIR_PHP.'navbar.php'); ?>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
|
|
|
<!-- Content -->
|
|
|
|
<?php
|
2018-02-01 00:34:16 +01:00
|
|
|
// $WHERE_AM_I variable detect where the user is browsing
|
|
|
|
// If the user is watching a particular page the variable takes the value "page"
|
|
|
|
// If the user is watching the frontpage the variable takes the value "home"
|
|
|
|
if ($WHERE_AM_I == 'page') {
|
2018-01-25 23:58:42 +01:00
|
|
|
include(THEME_DIR_PHP.'page.php');
|
|
|
|
} else {
|
|
|
|
include(THEME_DIR_PHP.'home.php');
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
2018-01-28 00:55:19 +01:00
|
|
|
<!-- Footer -->
|
2018-01-28 23:33:50 +01:00
|
|
|
<?php include(THEME_DIR_PHP.'footer.php'); ?>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
2019-06-02 20:10:55 +02:00
|
|
|
<!-- Include Jquery file from Bludit Core -->
|
2021-03-19 20:48:04 +01:00
|
|
|
<?php echo HTML::jquery(); ?>
|
2018-07-13 18:30:42 +02:00
|
|
|
|
2019-06-02 20:10:55 +02:00
|
|
|
<!-- Include javascript Bootstrap file from Bludit Core -->
|
2021-03-19 20:48:04 +01:00
|
|
|
<?php echo HTML::jsBootstrap(); ?>
|
2018-01-25 23:58:42 +01:00
|
|
|
|
2018-01-28 23:33:50 +01:00
|
|
|
<!-- Load Bludit Plugins: Site Body End -->
|
2021-03-19 20:48:04 +01:00
|
|
|
<?php execPluginsByHook('siteBodyEnd'); ?>
|
2018-01-28 23:33:50 +01:00
|
|
|
|
2018-01-28 00:55:19 +01:00
|
|
|
</body>
|
2018-11-09 00:59:06 +01:00
|
|
|
</html>
|