feat: headings and divs
This commit is contained in:
parent
b2f84db279
commit
cb22799658
1 changed files with 15 additions and 17 deletions
|
@ -282,7 +282,7 @@
|
||||||
<main class={{ "thread" if threads|length==1 else "home" }}>
|
<main class={{ "thread" if threads|length==1 else "home" }}>
|
||||||
{% if tags is defined%}
|
{% if tags is defined%}
|
||||||
<div class="featured-tags">
|
<div class="featured-tags">
|
||||||
<strong>Featured tags:</strong>
|
<h2>Featured tags:</h2>
|
||||||
<ul class="tags">
|
<ul class="tags">
|
||||||
{% for tag in tags %}
|
{% for tag in tags %}
|
||||||
<li><a href="{{ tag.url }}">#{{ tag.name }} ({{ tag.statuses_count }})</a> • </li>
|
<li><a href="{{ tag.url }}">#{{ tag.name }} ({{ tag.statuses_count }})</a> • </li>
|
||||||
|
@ -293,8 +293,7 @@
|
||||||
<div class="back">
|
<div class="back">
|
||||||
<a href="{{url_for('threads.home')}}">Back</a>
|
<a href="{{url_for('threads.home')}}">Back</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<h2>Featured threads:</h2>
|
||||||
<strong>Featured threads:</strong>
|
|
||||||
{% for thread in threads %}
|
{% for thread in threads %}
|
||||||
{% with thread=thread, parent_id=thread.id, is_thread=threads|length > 1 %}
|
{% with thread=thread, parent_id=thread.id, is_thread=threads|length > 1 %}
|
||||||
{% include "card.html" %}
|
{% include "card.html" %}
|
||||||
|
@ -308,7 +307,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<a href="#top">Top</a>
|
<a href="#top">Top</a>
|
||||||
</div>
|
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue