summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorechoz2013-04-12 01:51:42 (GMT)
committer echoz2013-04-12 01:51:42 (GMT)
commitf2a166a5c07fd7a40b3d5a004b4b9256f832ee0f (patch)
tree1218bdce445198f1db7da78d32ee58deaf14e7d5
parent8afcd4b78c3238fbe69c0871698b85b27f5f4798 (diff)
Revert "Remove hgroup as it's being dropped from the HTML5 spec."
To add issue reference and credit to commit message. This reverts commit 307f1e14f737c51dec334f0514bf3b59a7c31ecc.
-rw-r--r--STARTERKIT/sass/_normalize.scss1
-rw-r--r--templates/maintenance-page.tpl.php4
-rw-r--r--templates/page.tpl.php4
-rw-r--r--templates/pane-header.tpl.php4
4 files changed, 7 insertions, 6 deletions
diff --git a/STARTERKIT/sass/_normalize.scss b/STARTERKIT/sass/_normalize.scss
index eaee4b6..516382f 100644
--- a/STARTERKIT/sass/_normalize.scss
+++ b/STARTERKIT/sass/_normalize.scss
@@ -28,6 +28,7 @@ figcaption,
figure,
footer,
header,
+hgroup,
main,
nav,
section,
diff --git a/templates/maintenance-page.tpl.php b/templates/maintenance-page.tpl.php
index 04b38d3..6f3eed7 100644
--- a/templates/maintenance-page.tpl.php
+++ b/templates/maintenance-page.tpl.php
@@ -47,7 +47,7 @@
<?php endif; ?>
<?php if ($site_name || $site_slogan): ?>
- <div id="name-and-slogan">
+ <hgroup id="name-and-slogan">
<?php if ($site_name): ?>
<h1 id="site-name">
<a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
@@ -57,7 +57,7 @@
<?php if ($site_slogan): ?>
<h2 id="site-slogan"><?php print $site_slogan; ?></h2>
<?php endif; ?>
- </div>
+ </hgroup>
<?php endif; ?>
<?php print $header; ?>
diff --git a/templates/page.tpl.php b/templates/page.tpl.php
index d7fa772..01358ac 100644
--- a/templates/page.tpl.php
+++ b/templates/page.tpl.php
@@ -17,7 +17,7 @@
<?php endif; ?>
<?php if ($site_name || $site_slogan): ?>
- <div class="header--name-and-slogan" id="name-and-slogan">
+ <hgroup class="header--name-and-slogan" id="name-and-slogan">
<?php if ($site_name): ?>
<h1 class="header--site-name" id="site-name">
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" class="header--site-link" rel="home"><span><?php print $site_name; ?></span></a>
@@ -27,7 +27,7 @@
<?php if ($site_slogan): ?>
<h2 class="header--site-slogan" id="site-slogan"><?php print $site_slogan; ?></h2>
<?php endif; ?>
- </div>
+ </hgroup>
<?php endif; ?>
<?php if ($secondary_menu): ?>
diff --git a/templates/pane-header.tpl.php b/templates/pane-header.tpl.php
index f5f6f99..e04fef7 100644
--- a/templates/pane-header.tpl.php
+++ b/templates/pane-header.tpl.php
@@ -18,7 +18,7 @@
<?php endif; ?>
<?php if ($site_name || $site_slogan): ?>
- <div class="header--name-and-slogan" id="name-and-slogan">
+ <hgroup class="header--name-and-slogan" id="name-and-slogan">
<?php if ($site_name): ?>
<h1 class="header--site-name" id="site-name">
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" class="header--site-link" rel="home"><span><?php print $site_name; ?></span></a>
@@ -28,5 +28,5 @@
<?php if ($site_slogan): ?>
<h2 class="header--site-slogan" id="site-slogan"><?php print $site_slogan; ?></h2>
<?php endif; ?>
- </div>
+ </hgroup>
<?php endif; ?>