bludit/bl-themes/clean-blog/index.php

98 lines
3.1 KiB
PHP
Raw Normal View History

2017-10-13 00:15:13 +02:00
<!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">
2017-10-14 00:02:30 +02:00
<a class="nav-link" href=<?php echo $Site->url() ?>Home</a>
2017-10-13 00:15:13 +02:00
</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">
2017-10-14 00:02:30 +02:00
<a href="<?php echo $Site->twitter() ?>">
2017-10-13 00:15:13 +02:00
<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">
2017-10-14 00:02:30 +02:00
<a href="<?php echo $Site->facebook() ?>">
2017-10-13 00:15:13 +02:00
<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">
2017-10-14 00:02:30 +02:00
<a href="<?php echo $Site->github() ?>">
2017-10-13 00:15:13 +02:00
<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>
2017-10-14 00:02:30 +02:00
<p class="copyright text-muted"><?php echo $Site->footer() ?> - Powered by <a href="https://www.bludit.com">BLUDIT</a></p>
2017-10-13 00:15:13 +02:00
</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>