浏览代码

Tidying whitespace

Jordan 4 年之前
父节点
当前提交
a974b4eddf
共有 1 个文件被更改,包括 9 次插入6 次删除
  1. 9 6
      seedlet/template-parts/content/content-none.php

+ 9 - 6
seedlet/template-parts/content/content-none.php

@@ -17,19 +17,22 @@
 
 	<div class="page-content default-max-width">
 		<?php
-		if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
+		if ( is_home() && current_user_can( 'publish_posts' ) ) :
+			?>
 
 			<p>
 			<?php _e( "Your site is set to show the the most recent posts on your homepage - but you don't have any Posts published.", 'seedlet' ); ?></p>
-
 			<p>
-				<a href="<?php  echo esc_url( admin_url( 'edit.php' ) ); ?>" class="button">
-			<?php /* translators: 1: link to WP admin new post page. */
-			 _e( 'Add or publish Posts', 'seedlet' ); ?>
+				<a href="<?php echo esc_url( admin_url( 'edit.php' ) ); ?>" class="button">
+					<?php
+					/* translators: 1: link to WP admin new post page. */
+					_e( 'Add or publish Posts', 'seedlet' );
+					?>
 				</a>
 			</p>
 
-		<?php elseif ( is_search() ) :
+			<?php
+		elseif ( is_search() ) :
 			?>
 
 			<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'seedlet' ); ?></p>