diff --git a/src/wp-content/themes/twentytwentyone/inc/template-tags.php b/src/wp-content/themes/twentytwentyone/inc/template-tags.php
index 4f146a3616..9fa0063ab6 100644
--- a/src/wp-content/themes/twentytwentyone/inc/template-tags.php
+++ b/src/wp-content/themes/twentytwentyone/inc/template-tags.php
@@ -205,7 +205,7 @@ if ( ! function_exists( 'twenty_twenty_one_post_thumbnail' ) ) {
 				<?php endif; ?>
 			</figure>
 
-		<?php endif; ?>
+		<?php endif; ?><!-- .post-thumbnail -->
 		<?php
 	}
 }
