Moved opening html tag to base.php

Still using the `head.php` partial at this point.
This commit is contained in:
Julien Melissas
2015-05-15 15:45:45 -04:00
parent 3c8a487f79
commit 9e6d0ee587
2 changed files with 9 additions and 9 deletions

View File

@@ -5,7 +5,9 @@ use Roots\Sage\Wrapper;
?>
<?php get_template_part('templates/head'); ?>
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<?php get_template_part('templates/head'); ?>
<body <?php body_class(); ?>>
<!--[if lt IE 9]>
<div class="alert alert-warning">

View File

@@ -1,8 +1,6 @@
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>