Skip to content

Instantly share code, notes, and snippets.

@yeosteve
Last active December 14, 2015 05:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yeosteve/5037102 to your computer and use it in GitHub Desktop.
CodeIgniter Boilerplate opening HTML
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>
<?php
echo (isset($title))?$title:'Default title';
?>
</title>
<meta name="description" content="<?php echo (isset($description))?$description:'';?>">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="<?=base_url()?>css/style.css">
<!--Modernizr.com/download/ -->
<!-- <script src="js/libs/modernizr-2.0.6.min.js"></script>-->
</head>
<body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment