forked from rDrama/rDrama
fix page title
parent
21ea847e31
commit
74cc7e40ce
|
@ -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 -%}
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue