bludit/bl-themes/editorial/index.php

91 lines
2.5 KiB
PHP

<!DOCTYPE HTML>
<!--
Theme design by HTML5 UP - html5up.net | @ajlkn
Website running on BLUDIT - bludit.com | @bludit
-->
<html>
<head>
<?php include(THEME_DIR_PHP.'head.php') ?>
</head>
<body>
<?php // Load plugins
Theme::plugins('siteBodyBegin');
?>
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<div id="main">
<div class="inner">
<!-- Header -->
<header id="header">
<a href="<?php echo $Site->url() ?>" class="logo">
<strong><?php echo $Site->title() ?></strong> <?php echo $Site->slogan() ?>
</a>
<ul class="icons">
<?php
if ($Site->twitter()) {
echo '<li><a href="'.$Site->twitter().'" class="icon fa-twitter"><span class="label">Twitter</span></a></li>';
}
if ($Site->facebook()) {
echo '<li><a href="'.$Site->facebook().'" class="icon fa-facebook"><span class="label">Facebook</span></a></li>';
}
if ($Site->instagram()) {
echo '<li><a href="'.$Site->instagram().'" class="icon fa-instagram"><span class="label">Instagram</span></a></li>';
}
if ($Site->github()) {
echo '<li><a href="'.$Site->github().'" class="icon fa-github"><span class="label">Github</span></a></li>';
}
if ($Site->codepen()) {
echo '<li><a href="'.$Site->codepen().'" class="icon fa-codepen"><span class="label">Codepen</span></a></li>';
}
// Check if the plugin RSS is enabled
if (pluginEnabled('RSS')) {
echo '<li><a href="'.$Site->rss().'" class="icon fa-rss"><span class="label">RSS</span></a></li>';
}
// Check if the plugin Sitemap is enabled
if (pluginEnabled('sitemap')) {
echo '<li><a href="'.$Site->sitemap().'" class="icon fa-sitemap"><span class="label">Sitemap</span></a></li>';
}
?>
</ul>
</header>
<?php
if ($WHERE_AM_I=='page') {
include(THEME_DIR_PHP.'page.php');
} else {
include(THEME_DIR_PHP.'home.php');
}
?>
</div>
</div>
<!-- Sidebar -->
<div id="sidebar">
<div class="inner">
<?php include(THEME_DIR_PHP.'sidebar.php') ?>
</div>
</div>
</div>
<!-- Scripts -->
<?php
echo Theme::javascript('assets/js/jquery.min.js');
echo Theme::javascript('assets/js/skel.min.js');
echo Theme::javascript('assets/js/util.js');
echo '<!--[if lte IE 8]>'.Theme::javascript('assets/js/ie/respond.min.js').'<![endif]-->';
echo Theme::javascript('assets/js/main.js');
?>
<?php // Load plugins
Theme::plugins('siteBodyEnd');
?>
</body>
</html>