diff --git a/main/templates/main/main_person_page.html b/main/templates/main/main_person_page.html index ac12210f031daf953460d36362b8da680a4d18c3..c94249441e70d6932822e267582e0435221469a0 100644 --- a/main/templates/main/main_person_page.html +++ b/main/templates/main/main_person_page.html @@ -50,7 +50,7 @@ {% endif %} </section> </div> - {% if not tweet_list.empty %} + {% if tweet_list %} <section class="grid-container no-max"> <div class="grid-content-with-right-side"> <h2 class="head-4xl text-center xl:text-left"> @@ -75,7 +75,7 @@ </div> </section> {% endif %} - {% if not article_page_list.empty %} + {% if article_page_list %} <section class="grid-container mb-4 justify-start xl:mb-14"> <div class="grid-content"> <div class="leading-6">