summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfifteen/header.php')
-rw-r--r--themes/twentyfifteen/header.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/themes/twentyfifteen/header.php b/themes/twentyfifteen/header.php
index a088d85c..28de34ed 100644
--- a/themes/twentyfifteen/header.php
+++ b/themes/twentyfifteen/header.php
@@ -31,20 +31,16 @@
<?php
twentyfifteen_the_custom_logo();
- if ( is_front_page() && is_home() ) :
- ?>
+ if ( is_front_page() && is_home() ) : ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
- <?php
- endif;
+ <?php endif;
$description = get_bloginfo( 'description', 'display' );
-if ( $description || is_customize_preview() ) :
- ?>
+ if ( $description || is_customize_preview() ) : ?>
<p class="site-description"><?php echo $description; ?></p>
- <?php
- endif;
+ <?php endif;
?>
<button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
</div><!-- .site-branding -->