Skip to content

Instantly share code, notes, and snippets.

@iso100
Created November 18, 2011 18:55
Show Gist options
  • Save iso100/1377392 to your computer and use it in GitHub Desktop.
Save iso100/1377392 to your computer and use it in GitHub Desktop.
_header snippet
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
{if segment_1}
{exp:seo_lite use_last_segment="yes"}
{if:else}
{exp:seo_lite entry_id="48"}
{/if}
<meta name="viewport" content="width=1024">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="/assets/css/style.css">
<script src="/assets/js/libs/modernizr-1.7.min.js"></script>
<script src="/assets/js/s_code.js" type="text/javascript" charset="utf-8"></script>
{if embed:hero_image}
<style type="text/css" media="screen">
#homeBannerCntnr { background: url({embed:hero_image}) no-repeat 0 0;}
</style>
{/if}
{if embed:login_hero_image}
<style type="text/css" media="screen">
#loginBannerCntnr { background: url({embed:login_hero_image}) no-repeat 0 0;}
#btnSubmit { background-color:#{embed:button_color}; }
</style>
{/if}
</head>
<body class="{if embed:temp}{embed:temp}{if:else}{segment_1}{if segment_2} {segment_1}-{segment_2}{/if}{/if}">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment