Skip to content

Commit

Permalink
fix: fix build error in index without paginator
Browse files Browse the repository at this point in the history
  • Loading branch information
st1020 committed Jan 18, 2024
1 parent 43911ff commit 7ef6fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block main %}

<!-- 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 %}
<div class="mb-16 flex items-start">
{% if config.extra.profile.avatar_url %}
Expand Down

0 comments on commit 7ef6fe2

Please sign in to comment.