bludit/themes/pure/index.php

54 lines
1.2 KiB
PHP
Raw Normal View History

2015-03-08 18:02:59 +01:00
<!doctype html>
<html lang="<?php echo $Site->language() ?>">
<head>
<!-- Meta tags -->
<?php include('php/head.php') ?>
</head>
<body>
2015-08-07 00:56:52 +02:00
<!-- Plugins Site Body Begin -->
2015-07-23 03:45:54 +02:00
<?php Theme::plugins('onSiteBodyBegin') ?>
2015-03-08 18:02:59 +01:00
<!-- Layout -->
<div id="layout" class="pure-g">
<!-- Sidebar -->
<div class="sidebar pure-u-1 pure-u-md-1-4">
<?php include('php/sidebar.php') ?>
</div>
<!-- Main -->
2015-07-07 06:24:51 +02:00
<div class="content pure-u-1 pure-u-md-3-4">
2015-03-08 18:02:59 +01:00
<!-- Content -->
<?php
if($Url->whereAmI()=='home')
{
include('php/home.php');
}
elseif($Url->whereAmI()=='post')
{
include('php/post.php');
}
elseif($Url->whereAmI()=='page')
{
include('php/page.php');
}
?>
<!-- Footer -->
<div class="footer">
2015-07-20 05:14:12 +02:00
<p><?php echo $Site->footer(); ?> | <?php echo $Language->get('Powered by') ?> <a target="_blank" href="http://www.bludit.com">Bludit</a></p>
2015-03-08 18:02:59 +01:00
</div>
</div>
</div>
2015-08-07 00:56:52 +02:00
<!-- Plugins Site Body End -->
2015-07-23 03:45:54 +02:00
<?php Theme::plugins('onSiteBodyEnd') ?>
2015-03-08 18:02:59 +01:00
</body>
2015-07-07 00:22:03 +02:00
</html>