From e03144c2e9fa69334b0886772d219655bec50109 Mon Sep 17 00:00:00 2001 From: Dorian Wood Date: Tue, 1 Aug 2023 11:16:44 -0400 Subject: [PATCH] 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. --- brutaldon/templates/base.html | 2 +- brutaldon/templates/main/timeline.html | 5 +++-- brutaldon/templates/main/toot_partial.html | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/brutaldon/templates/base.html b/brutaldon/templates/base.html index 5574b15..81b2161 100644 --- a/brutaldon/templates/base.html +++ b/brutaldon/templates/base.html @@ -165,7 +165,7 @@
{% block content %}

- Title + Brutaldon

Brutaldon is totally a thing. diff --git a/brutaldon/templates/main/timeline.html b/brutaldon/templates/main/timeline.html index d229d2f..00598ab 100644 --- a/brutaldon/templates/main/timeline.html +++ b/brutaldon/templates/main/timeline.html @@ -14,14 +14,15 @@ {% endblock %} {% block content %} +

Brutaldon ({{ own_acct.username }}) - {{ timeline_name }} timelime

{% if form %} -

Post

+

Post

{% include "main/post_minimal_partial.html" %}
{% endif %} -

Your {{ timeline_name }} timeline

+

Your {{ timeline_name }} timeline

{% for toot in toots %} {% cache 600 toot_partial toot.id %} diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 00d88f5..62c0443 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -29,7 +29,7 @@

- {{ toot.account.display_name | fix_emojos:toot.account.emojis | strip_html |safe}} +

{{ toot.account.display_name | fix_emojos:toot.account.emojis | strip_html |safe}}

@{{ toot.account.acct }}