[library-web] Don't wrap the header image in an h1
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] Don't wrap the header image in an h1
- Date: Tue, 18 Feb 2014 23:53:41 +0000 (UTC)
commit 836349ffdf9a30613db3a2968cc8454b6695b220
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Feb 18 14:26:26 2014 -0500
Don't wrap the header image in an h1
If the image isn't displayed the alt text is displayed huge and
that doesn't work in a header.
data/xslt/heading.xsl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/xslt/heading.xsl b/data/xslt/heading.xsl
index 1fd2daa..3b75ead 100644
--- a/data/xslt/heading.xsl
+++ b/data/xslt/heading.xsl
@@ -36,13 +36,13 @@
<!-- header -->
<div id="header" class="container_12">
<div id="logo" class="grid_3">
- <h1><a title="Go to home page" href="/"><img alt="GNOME: The Free Software Desktop Project">
+ <a title="Go to home page" href="/"><img alt="GNOME: The Free Software Desktop Project">
<xsl:attribute name="src">
<xsl:choose>
<xsl:when test="$libgo.channel = 'devel'">/skin/gnome-logo-devcenter.png</xsl:when>
<xsl:otherwise>/skin/gnome-logo.png</xsl:otherwise>
</xsl:choose>
- </xsl:attribute></img></a></h1>
+ </xsl:attribute></img></a>
</div>
<div id="top_bar" class="grid_9">
<div class="left">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]