This commit is contained in:
@@ -73,19 +73,22 @@
|
||||
|
||||
<main class="container">
|
||||
{% if profile %}
|
||||
<section class="link-item profile-summary">
|
||||
<div class="link-header">
|
||||
<div class="avatar">
|
||||
{% if profile.avatar_url %}
|
||||
<img src="{{ profile.avatar_url }}" alt="{{ profile.username }} avatar" />
|
||||
{% else %}
|
||||
{{ profile.username[:1].upper() }}
|
||||
{% endif %}
|
||||
<details class="link-item profile-summary">
|
||||
<summary>Profile</summary>
|
||||
<div class="profile-summary-content">
|
||||
<div class="link-header">
|
||||
<div class="avatar">
|
||||
{% if profile.avatar_url %}
|
||||
<img src="{{ profile.avatar_url }}" alt="{{ profile.username }} avatar" />
|
||||
{% else %}
|
||||
{{ profile.username[:1].upper() }}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="user-name">{{ profile.username }}</div>
|
||||
</div>
|
||||
<div class="user-name">{{ profile.username }}</div>
|
||||
<p>{{ profile.bio or 'No profile information provided.' }}</p>
|
||||
</div>
|
||||
<p>{{ profile.bio or 'No profile information provided.' }}</p>
|
||||
</section>
|
||||
</details>
|
||||
{% endif %}
|
||||
<section id="feed" class="feed" aria-live="polite"></section>
|
||||
<nav id="pagination" class="pagination" aria-label="Feed pages"></nav>
|
||||
|
||||
Reference in New Issue
Block a user