diff --git a/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php b/src/wp-content/themes/twentyseventeen/template-parts/header/site-branding.php
index 02017d5..1ad2ddb 100644
a
|
b
|
|
15 | 15 | <?php the_custom_logo(); ?> |
16 | 16 | |
17 | 17 | <div class="site-branding-text"> |
18 | | <?php if ( is_front_page() ) : ?> |
19 | | <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> |
20 | | <?php else : ?> |
21 | | <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> |
| 18 | <?php if ( ! empty( get_bloginfo( 'name' ) ) ) : ?> |
| 19 | <?php if ( is_front_page() ) : ?> |
| 20 | <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> |
| 21 | <?php else : ?> |
| 22 | <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> |
| 23 | <?php endif; ?> |
22 | 24 | <?php endif; ?> |
23 | 25 | |
24 | 26 | <?php |