-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
executable file
·44 lines (36 loc) · 1.42 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="<?php echo Theme::lang() ?>">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Bludit CMS" />
<?php echo Theme::metaTags('title') ?>
<?php echo Theme::metaTags('description') ?>
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo Theme::src('apple-touch-icon.png') ?>">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo Theme::src('favicon-32x32.png') ?>">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo Theme::src('favicon-16x16.png') ?>">
<link rel="manifest" href="<?php echo Theme::src('site.webmanifest') ?>">
<?php echo Theme::css('css/normalize.min.css'); ?>
<?php echo Theme::css('css/main.css') ?>
<?php Theme::plugins('siteHead') ?>
</head>
<body>
<div class="main-container" id="top">
<?php Theme::plugins('siteBodyBegin'); ?>
<?php include(THEME_DIR_PHP . 'header.php'); ?>
<?php
if ($WHERE_AM_I == 'page') {
include(THEME_DIR_PHP . 'page.php');
} elseif ($WHERE_AM_I == 'dtsearch') {
include(THEME_DIR_PHP . 'search.php');
} else {
include(THEME_DIR_PHP . 'home.php');
}
?>
<?php include(THEME_DIR_PHP . 'footer.php'); ?>
</div>
<?php echo Theme::javascript('js/bundle-min.js'); ?>
<?php Theme::plugins('siteBodyEnd'); ?>
</div>
</body>
</html>