Skip to content

Instantly share code, notes, and snippets.

@whatnickcodes
Created December 20, 2012 18:45
Show Gist options
  • Save whatnickcodes/4347618 to your computer and use it in GitHub Desktop.
Save whatnickcodes/4347618 to your computer and use it in GitHub Desktop.
Example View
<!doctype html>
<!--[if IE 6]> <html class="ie6 ie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 ie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 ie"> <![endif]-->
<!--[if gte IE 9]> <!--><html> <!--<![endif]-->
<head>
<!-- robot speak -->
<meta charset="utf-8">
<title><?php echo $title; ?></title>
<meta name="author" content="Scotch.io"><!-- static -->
<?php echo $meta; ?><!-- Produced Dynamically from Controller -->
<!-- crayons and paint -->
<?php echo add_css(array('reset', 'style')); ?><!-- static, uses html5_helper -->
<?php echo $css; ?><!-- Produced Dynamically from Controller -->
<!-- magical wizardry -->
<?php echo shiv(); ?><!-- html5 shiv using html5_helper -->
<?php echo jquery('1.8.2'); ?>
<?php echo add_js('scripts'); ?><!--- static, uses html5_helper -->
<?php echo $js; ?><!-- Produced Dynamically from Controller -->
</head>
<body>
<div id="container" class="container-fluid">
<header>
<!-- Header Slice -->
<?php echo $header ?>
</header>
<section id="content">
<!-- Contains the page/content of one_view -->
<?php echo $content ?>
</section>
<footer>
<!-- Footer Slice -->
<?php echo $footer ?>
</footer>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment