[commit: ghc] master: users-guide: Move <h1> outside of <a> tag (cc79dd1)

git at git.haskell.org git at git.haskell.org
Wed Nov 18 22:13:41 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/cc79dd156c79068d1b9318a6b3ac7710a668fb47/ghc

>---------------------------------------------------------------

commit cc79dd156c79068d1b9318a6b3ac7710a668fb47
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Nov 18 17:42:46 2015 +0100

    users-guide: Move <h1> outside of <a> tag
    
    Otherwise the header extends across the entire body, increasing the
    chance that the user hits it instead of the "next" link below it.


>---------------------------------------------------------------

cc79dd156c79068d1b9318a6b3ac7710a668fb47
 docs/users_guide/ghc-theme/layout.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/ghc-theme/layout.html b/docs/users_guide/ghc-theme/layout.html
index 0391543..fc5a6a5 100644
--- a/docs/users_guide/ghc-theme/layout.html
+++ b/docs/users_guide/ghc-theme/layout.html
@@ -11,7 +11,7 @@
 
 {% block relbar1 %}
 <div class="logo">
-    <a href="{{ pathto('index') }}"><h1>Glasgow Haskell Compiler Users Guide</h1></a>
+    <h1><a href="{{ pathto('index') }}">Glasgow Haskell Compiler Users Guide</a></h1>
 </div>
 {{ super() }}
 {% endblock %}



More information about the ghc-commits mailing list