Skip to content

Instantly share code, notes, and snippets.

@chrisvanpatten
Created April 20, 2012 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisvanpatten/2430622 to your computer and use it in GitHub Desktop.
Save chrisvanpatten/2430622 to your computer and use it in GitHub Desktop.
Rach5 index file
<!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]-->
<?php get_template_part('head'); ?>
<body <?php body_class(); ?>>
<?php get_header(); ?>
<section id="content">
<?php
if ( is_front_page() ) {
get_template_part('pg', 'front');
} elseif ( is_page() ) {
get_template_part('loop', 'page');
} else {
get_template_part('loop', 'post');
}
?>
</section>
<?php get_footer(); ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment