Moved opening html tag to base.php
Still using the `head.php` partial at this point.
This commit is contained in:
4
base.php
4
base.php
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user