Avoid empty <title> in templates

Newer versions of tidylib complain about this.
This commit is contained in:
Adeodato Simó 2024-07-28 21:58:26 -03:00
parent 7f773b3dbd
commit 69962bb7c9
2 changed files with 6 additions and 0 deletions

View file

@ -3,8 +3,10 @@
{% load utilities %} {% load utilities %}
{% block heading %} {% block heading %}
{% block title %}
{% blocktrans with username=user.localname sitename=site.name %}Follow {{ username }} on the fediverse{% endblocktrans %} {% blocktrans with username=user.localname sitename=site.name %}Follow {{ username }} on the fediverse{% endblocktrans %}
{% endblock %} {% endblock %}
{% endblock %}
{% block content %} {% block content %}
<div class="block card"> <div class="block card">

View file

@ -2,6 +2,10 @@
{% load i18n %} {% load i18n %}
{% load utilities %} {% load utilities %}
{% block title %}
{% blocktrans with display_name=user.display_name %}You are now following {{ display_name }}!{% endblocktrans %}
{% endblock %}
{% block content %} {% block content %}
<div class="block card"> <div class="block card">
<div class="card-content"> <div class="card-content">