98 lines
3.0 KiB
PHP
98 lines
3.0 KiB
PHP
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<?php
|
||
|
include(THEME_DIR_PHP.'head.php')
|
||
|
?>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<?php
|
||
|
Theme::plugins('siteBodyBegin')
|
||
|
?>
|
||
|
|
||
|
<!-- Navigation -->
|
||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
||
|
<div class="container">
|
||
|
<a class="navbar-brand" href="<?php echo $Site->url() ?>"><?php echo $Site->title() ?></a>
|
||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||
|
Menu
|
||
|
<i class="fa fa-bars"></i>
|
||
|
</button>
|
||
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||
|
<ul class="navbar-nav ml-auto">
|
||
|
<li class="nav-item">
|
||
|
<a class="nav-link" href=<?php echo $Site->url() ?>>Home</a>
|
||
|
</li>
|
||
|
<?php
|
||
|
foreach ($staticPages as $staticPage) {
|
||
|
echo '<li class="nav-item">';
|
||
|
echo '<a class="nav-link" href="'.$staticPage->permalink().'">'.$staticPage->title().'</a>';
|
||
|
echo '</li>';
|
||
|
}
|
||
|
?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
<!-- Main Content -->
|
||
|
<?php
|
||
|
if ($WHERE_AM_I=='page') {
|
||
|
include(THEME_DIR_PHP.'page.php');
|
||
|
} else {
|
||
|
include(THEME_DIR_PHP.'home.php');
|
||
|
}
|
||
|
?>
|
||
|
|
||
|
<!-- Footer -->
|
||
|
<footer>
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||
|
<ul class="list-inline text-center">
|
||
|
<li class="list-inline-item">
|
||
|
<a href="#">
|
||
|
<span class="fa-stack fa-lg">
|
||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||
|
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
||
|
</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li class="list-inline-item">
|
||
|
<a href="#">
|
||
|
<span class="fa-stack fa-lg">
|
||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||
|
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
||
|
</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li class="list-inline-item">
|
||
|
<a href="#">
|
||
|
<span class="fa-stack fa-lg">
|
||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||
|
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
||
|
</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p class="copyright text-muted">Copyright © Your Website 2017</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</footer>
|
||
|
|
||
|
<!-- Scripts -->
|
||
|
<?php
|
||
|
echo Theme::jquery(); // Jquery from Bludit Core
|
||
|
echo Theme::js('vendor/popper/popper.min.js');
|
||
|
echo Theme::js('vendor/bootstrap/js/bootstrap.min.js');
|
||
|
echo Theme::js('js/clean-blog.min.js');
|
||
|
?>
|
||
|
|
||
|
<?php
|
||
|
Theme::plugins('siteBodyEnd')
|
||
|
?>
|
||
|
|
||
|
</body>
|
||
|
</html>
|