Enhanced title for user profile page
This commit is contained in:
parent
688f56c2dc
commit
017d6ca350
@ -26,6 +26,17 @@
|
|||||||
user=user.username) }}">
|
user=user.username) }}">
|
||||||
{% endblock mediagoblin_head %}
|
{% endblock mediagoblin_head %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
{%- if user -%}
|
||||||
|
{%- trans username=user.username -%}
|
||||||
|
{{ username }}'s profile
|
||||||
|
{%- endtrans %} — {{ super() }}
|
||||||
|
{%- else -%}
|
||||||
|
{{ super() }}
|
||||||
|
{%- endif -%}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block mediagoblin_content -%}
|
{% block mediagoblin_content -%}
|
||||||
{# If no user... #}
|
{# If no user... #}
|
||||||
{% if not user %}
|
{% if not user %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user