Modified header tags

There is now a single h1 tag. User posting forms and the timeline
are in their own h2, and individual posts are in an h3 made around
the toot title.
This commit is contained in:
Dorian Wood 2023-08-01 11:16:44 -04:00
parent 9768c08466
commit e03144c2e9
3 changed files with 5 additions and 4 deletions

View File

@ -165,7 +165,7 @@
<div class="container">
{% block content %}
<h1 class="title">
Title
Brutaldon
</h1>
<p class="subtitle">
Brutaldon is totally a thing.

View File

@ -14,14 +14,15 @@
{% endblock %}
{% block content %}
<h1>Brutaldon ({{ own_acct.username }}) - {{ timeline_name }} timelime</h1>
{% if form %}
<h1 class="title">Post</h1>
<h2 class="title">Post</h2>
<div class="box">
{% include "main/post_minimal_partial.html" %}
</div>
<hr class="is-hidden">
{% endif %}
<h1 class="title">Your {{ timeline_name }} timeline</h1>
<h2 class="title">Your {{ timeline_name }} timeline</h2>
<div id="timeline">
{% for toot in toots %}
{% cache 600 toot_partial toot.id %}

View File

@ -29,7 +29,7 @@
<div class="media-content">
<div class="content">
<p>
<strong>{{ toot.account.display_name | fix_emojos:toot.account.emojis | strip_html |safe}}</strong>
<h3><strong>{{ toot.account.display_name | fix_emojos:toot.account.emojis | strip_html |safe}}</strong></h3>
<small><a href="{% url "user" toot.account.acct %}">
@{{ toot.account.acct }}</a></small>
<a href="{{ toot.url }}">