diff --git a/later42/templates/archive.html b/later42/templates/archive.html
index 979ae89..84c1c9b 100644
--- a/later42/templates/archive.html
+++ b/later42/templates/archive.html
@@ -23,10 +23,6 @@
 <!-- Divider-->
 <hr class="my-4" />
 {% endfor %}
-{% else %}
-    <h2 class="post-title">У вас нет ссылок в архиве</h2>
-{% endif %}
-</div>
 <div class="pagination container row justify-content-end">
     <div></div>
     <div class="step-links col-auto">
@@ -45,4 +41,8 @@
         {% endif %}
     </div>
 </div>
+{% else %}
+    <h2 class="post-title">У вас нет ссылок в архиве</h2>
+{% endif %}
+</div>
 {% endblock %}
\ No newline at end of file