fix page title

master
Aevann 2024-01-19 10:54:25 +02:00
parent 21ea847e31
commit 74cc7e40ce
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{% extends "default.html" %}
{% block pagetitle %}
{%- if comment_info -%}
@{{comment_info.author_name}} comments on '{{p.plaintitle(v)}}'
@{{comment_info.author_name}}'s comment on '{{p.plaintitle(v)}}'
{%- else -%}
{{p.plaintitle(v)}}
{%- endif -%}

View File

@ -24,7 +24,7 @@
{% endif %}
{% if comment_info and not comment_info.is_banned and not comment_info.deleted_utc %}
{% set p, title = comment_info, ['@', comment_info.author_name, ' comments on ',
{% set p, title = comment_info, ['@', comment_info.author_name, "'s comment on ",
'"', title, '"'] | join %}
{% endif %}