Permalink
Browse files

better way to do the site title h1

  • Loading branch information...
mimoYmima committed Jun 17, 2012
1 parent 7a75f59 commit 4e906f1e68327bd26e10b64cbf9ccd6599f60f33
Showing with 1 addition and 1 deletion.
  1. +1 −1 header.php
View
@@ -103,7 +103,7 @@
<header id="site-header" role="banner">
<hgroup>
- <h1 id="site-title"><?php is_home() ? bloginfo('description') : wp_title(''); ?> :: <a href="/"><?php bloginfo('name'); ?></a></h1>
+ <h1 id="site-title"><?php if(!is_home()) { wp_title(''); echo " :: "; } ?><a href="/"><?php bloginfo('name'); ?></a></h1>
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup>

0 comments on commit 4e906f1

Please sign in to comment.