feat: headings and divs

This commit is contained in:
Ayo Ayco 2025-01-18 17:01:54 +01:00
parent b2f84db279
commit cb22799658

View file

@ -282,7 +282,7 @@
<main class={{ "thread" if threads|length==1 else "home" }}>
{% if tags is defined%}
<div class="featured-tags">
<strong>Featured tags:</strong>
<h2>Featured tags:</h2>
<ul class="tags">
{% for tag in tags %}
<li><a href="{{ tag.url }}">#{{ tag.name }} ({{ tag.statuses_count }})</a></li>
@ -293,8 +293,7 @@
<div class="back">
<a href="{{url_for('threads.home')}}">Back</a>
</div>
<div>
<strong>Featured threads:</strong>
<h2>Featured threads:</h2>
{% for thread in threads %}
{% with thread=thread, parent_id=thread.id, is_thread=threads|length > 1 %}
{% include "card.html" %}
@ -308,7 +307,6 @@
{% endif %}
{% endfor %}
<a href="#top">Top</a>
</div>
</main>
<footer>
<p>