Skip to content

Instantly share code, notes, and snippets.

@kamaulynder
Created August 11, 2014 06:57
Show Gist options
  • Save kamaulynder/c6c32d8b773efff1dc5a to your computer and use it in GitHub Desktop.
Save kamaulynder/c6c32d8b773efff1dc5a to your computer and use it in GitHub Desktop.
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php echo HTML::entities($site_name) ?></title>
<meta name="description" content="<?php echo HTML::entities($site_name) ?>">
<!-- Mobile Viewport meta tags -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- Leaflet CSS -->
<link rel="stylesheet" href="<?php echo Media::url('bower_components/leaflet/leaflet.css'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo Media::url('bower_components/leaflet-locatecontrol/src/L.Control.Locate.css'); ?>"/>
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="<?php echo Media::url('bower_components/leaflet-locatecontrol/src/L.Control.Locate.ie.css'); ?>"/>
<![endif]-->
<link rel="stylesheet" href="<?php echo Media::url('bower_components/leaflet.markercluster/dist/MarkerCluster.css'); ?>" />
<link rel="stylesheet" href="<?php echo Media::url('bower_components/leaflet.markercluster/dist/MarkerCluster.Default.css'); ?>" />
<!--Awesome markers css -->
<link rel="stylesheet" href="<?php echo Media::url('bower_components/Leaflet.awesome-markers/dist/leaflet.awesome-markers.css'); ?>" />
<link rel="stylesheet" href="<?php echo Media::url('bower_components/select2/select2.css'); ?>" />
<?php if (Kohana::$environment == Kohana::PRODUCTION): ?>
<link rel="stylesheet" type="text/css" href="<?php echo Media::url('css/style.css'); ?>"/>
<?php else: ?>
<link rel="stylesheet" type="text/css" href="<?php echo Media::url('css/test/style.css'); ?>"/>
<?php endif; ?>
<!-- Global site config -->
<script type="text/javascript">
(function() {
window.config = <?php echo json_encode($config, JSON_FORCE_OBJECT); ?>;
})();
</script>
<!-- end global site config -->
<!--Change to Init.min.js below for production-->
<?php if (Kohana::$environment == Kohana::PRODUCTION): ?>
<script type="text/javascript" src="<?php echo Media::url('bower_components/requirejs/require.min.js'); ?>" data-main="<?php echo Media::url('js/app/Main.min.js'); ?>"></script>
<?php else: ?>
<script type="text/javascript" src="<?php echo Media::url('bower_components/requirejs/require.js'); ?>" data-main="<?php echo Media::url('js/app/Main.js'); ?>"></script>
<?php endif; ?>
<!-- Google Font -->
<link href='//fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700' rel='stylesheet' type='text/css'>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment