Merge pull request #3402 from dato/ostatus_no_empty_titles

Avoid empty <title> in templates
This commit is contained in:
Mouse Reeve 2024-08-09 12:43:06 -07:00 committed by GitHub
commit 96a2fa5afc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

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

View file

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