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