mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 08:41:00 +00:00
Fix header duplication during infinity scroll (#483)
This commit is contained in:
parent
b9e8f19e90
commit
0f66900d9c
1 changed files with 57 additions and 53 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue