forked from rDrama/rDrama
1
0
Fork 0

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" %} {% extends "default.html" %}
{% block pagetitle %} {% block pagetitle %}
{%- if comment_info -%} {%- if comment_info -%}
@{{comment_info.author_name}} comments on '{{p.plaintitle(v)}}' @{{comment_info.author_name}}'s comment on '{{p.plaintitle(v)}}'
{%- else -%} {%- else -%}
{{p.plaintitle(v)}} {{p.plaintitle(v)}}
{%- endif -%} {%- endif -%}

View File

@ -24,7 +24,7 @@
{% endif %} {% endif %}
{% if comment_info and not comment_info.is_banned and not comment_info.deleted_utc %} {% 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 %} '"', title, '"'] | join %}
{% endif %} {% endif %}