forked from bl-themes/darktheme
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
33 lines (32 loc) · 900 Bytes
/
index.php
File metadata and controls
33 lines (32 loc) · 900 Bytes
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
<!doctype html>
<html lang="<?php echo Theme::lang() ?>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<?php include(THEME_DIR_PHP.'head.php'); ?>
</head>
<body class="bg-dark text-secondary">
<div class="container-fluid" style="padding-top:110px;">
<?php Theme::plugins('siteBodyBegin'); ?>
<?php include(THEME_DIR_PHP.'topbar.php'); ?>
<?php
if ($WHERE_AM_I == 'page') {
if ($page->slug() == 'error') {
include(THEME_DIR_PHP.'error.php');
}
else {
include(THEME_DIR_PHP.'page.php');
}
} else {
include(THEME_DIR_PHP.'home.php');
}
?>
<?php include(THEME_DIR_PHP.'footer.php'); ?>
<!-- Javascript -->
<?php
echo Theme::jquery();
echo Theme::js('js/bootstrap.bundle.min.js');
?>
<?php Theme::plugins('siteBodyEnd'); ?>
</div>
</html>