koblog/bl-themes/alternative/index.php

75 lines
1.9 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
2018-11-09 00:59:06 +01:00
<html lang="<?php echo Theme::lang() ?>">
2023-07-15 15:58:33 +02:00
<head>
2019-06-02 20:10:55 +02:00
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Bludit">
<!-- Dynamic title tag -->
<?php echo Theme::metaTagTitle(); ?>
<!-- Dynamic description tag -->
<?php echo Theme::metaTagDescription(); ?>
<!-- Include Favicon -->
<?php echo Theme::favicon('img/favicon.png'); ?>
<!-- Include CSS Bootstrap file from Bludit Core -->
<?php echo Theme::cssBootstrap(); ?>
2023-07-15 15:58:33 +02:00
<!-- Include CSS Bootstrap ICONS file from Bludit Core -->
<?php echo Theme::cssBootstrapIcons(); ?>
2019-06-02 20:10:55 +02:00
<!-- Include CSS Styles from this theme -->
<?php echo Theme::css('css/style.css'); ?>
2023-07-15 15:58:33 +02:00
<?php if ($themePlugin->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; ?>
2019-06-02 20:10:55 +02:00
<!-- Load Bludit Plugins: Site head -->
<?php Theme::plugins('siteHead'); ?>
</head>
2023-07-15 15:58:33 +02:00
2018-02-01 00:34:16 +01:00
<body>
2018-01-28 23:33:50 +01:00
<!-- Load Bludit Plugins: Site Body Begin -->
<?php Theme::plugins('siteBodyBegin'); ?>
2018-01-27 20:34:26 +01:00
<!-- Navbar -->
2023-07-15 15:58:33 +02:00
<?php include(THEME_DIR_PHP . 'navbar.php'); ?>
<!-- Content -->
<?php
2023-07-15 15:58:33 +02: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') {
include(THEME_DIR_PHP . 'page.php');
} else {
include(THEME_DIR_PHP . 'home.php');
}
?>
2018-01-28 00:55:19 +01:00
<!-- Footer -->
2023-07-15 15:58:33 +02:00
<?php include(THEME_DIR_PHP . 'footer.php'); ?>
2019-06-02 20:10:55 +02:00
<!-- Include Jquery file from Bludit Core -->
<?php echo Theme::jquery(); ?>
2019-06-02 20:10:55 +02:00
<!-- Include javascript Bootstrap file from Bludit Core -->
<?php echo Theme::jsBootstrap(); ?>
2018-01-28 23:33:50 +01:00
<!-- Load Bludit Plugins: Site Body End -->
<?php Theme::plugins('siteBodyEnd'); ?>
2018-01-28 00:55:19 +01:00
</body>
2023-07-15 15:58:33 +02:00
</html>