Skip to content

Commit

Permalink
Merge pull request #3402 from dato/ostatus_no_empty_titles
Browse files Browse the repository at this point in the history
Avoid empty <title> in templates
  • Loading branch information
mouse-reeve authored Aug 9, 2024
2 parents 9e73ab0 + 69962bb commit 96a2fa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bookwyrm/templates/ostatus/remote_follow.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
4 changes: 4 additions & 0 deletions bookwyrm/templates/ostatus/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 96a2fa5

Please sign in to comment.