This commit is contained in:
Ben Word
2015-02-20 16:38:23 -06:00
parent 52d9d1a9aa
commit 39ffaff448
2 changed files with 34 additions and 40 deletions

View File

@@ -8,35 +8,31 @@ use Roots\Sage\Wrapper;
?> ?>
<?php get_template_part('templates/head'); ?> <?php get_template_part('templates/head'); ?>
<body <?php body_class(); ?>> <body <?php body_class(); ?>>
<!--[if lt IE 9]>
<!--[if lt IE 9]> <div class="alert alert-warning">
<div class="alert alert-warning"> <?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'sage'); ?>
<?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'sage'); ?> </div>
</div> <![endif]-->
<![endif]--> <?php
do_action('get_header');
<?php get_template_part('templates/header');
do_action('get_header'); ?>
get_template_part('templates/header'); <div class="wrap container" role="document">
?> <div class="content row">
<main class="main" role="main">
<div class="wrap container" role="document"> <?php include Wrapper\template_path(); ?>
<div class="content row"> </main><!-- /.main -->
<main class="main" role="main"> <?php if (Config\display_sidebar()) : ?>
<?php include Wrapper\template_path(); ?> <aside class="sidebar" role="complementary">
</main><!-- /.main --> <?php include Wrapper\sidebar_path(); ?>
<?php if (Config\display_sidebar()) : ?> </aside><!-- /.sidebar -->
<aside class="sidebar" role="complementary"> <?php endif; ?>
<?php include Wrapper\sidebar_path(); ?> </div><!-- /.content -->
</aside><!-- /.sidebar --> </div><!-- /.wrap -->
<?php endif; ?> <?php
</div><!-- /.content --> get_template_part('templates/footer');
</div><!-- /.wrap --> wp_footer();
?>
<?php get_template_part('templates/footer'); ?> </body>
<?php wp_footer(); ?>
</body>
</html> </html>

View File

@@ -1,11 +1,9 @@
<!doctype html> <!doctype html>
<html class="no-js" <?php language_attributes(); ?>> <html class="no-js" <?php language_attributes(); ?>>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="alternate" type="application/rss+xml" title="<?= get_bloginfo('name'); ?> Feed" href="<?= esc_url(get_feed_link()); ?>">
<link rel="alternate" type="application/rss+xml" title="<?= get_bloginfo('name'); ?> Feed" href="<?= esc_url(get_feed_link()); ?>"> <?php wp_head(); ?>
</head>
<?php wp_head(); ?>
</head>