Created
April 20, 2012 17:48
-
-
Save chrisvanpatten/2430622 to your computer and use it in GitHub Desktop.
Rach5 index file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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