Fix header duplication during infinity scroll (#483)

This commit is contained in:
Humberto Rocha 2023-01-30 13:24:15 -05:00 committed by GitHub
parent b9e8f19e90
commit 0f66900d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 57 additions and 53 deletions

View File

@ -15,6 +15,7 @@
{% block body_class %}has-banner{% endblock %}
{% block content %}
{% if not request.htmx %}
<h1 class="identity">
{% if identity.local_image_url %}
<img src="{{ identity.local_image_url.relative }}" class="banner">
@ -39,6 +40,7 @@
</a>
</small>
</h1>
{% endif %}
{% if inbound_block %}
<p class="system-note">
@ -46,6 +48,7 @@
</p>
{% else %}
{% if not request.htmx %}
{% if identity.summary %}
<div class="bio">
{{ identity.safe_summary }}
@ -83,6 +86,7 @@
</p>
{% endif %}
{% endif %}
{% endif %}
{% block subcontent %}