fix: fix build error in index without paginator

This commit is contained in:
st1020 2024-01-18 23:33:31 +08:00
parent 43911ffe82
commit 7ef6fe22a3

View file

@ -10,7 +10,7 @@
{% block main %} {% block main %}
<!-- avatar --> <!-- avatar -->
{% if paginator.current_index == 1 %}<!----> {% if paginator is undefined or paginator.current_index == 1 %}<!---->
{% if config.extra.profile.avatar_url or config.extra.profile.name %} {% if config.extra.profile.avatar_url or config.extra.profile.name %}
<div class="mb-16 flex items-start"> <div class="mb-16 flex items-start">
{% if config.extra.profile.avatar_url %} {% if config.extra.profile.avatar_url %}