master
Aevann1 2021-08-14 00:01:26 +02:00
parent 94e1f89579
commit d05f616077
1 changed files with 2 additions and 5 deletions

View File

@ -31,9 +31,8 @@
<meta property="og:type" content="article" />
{% if comment_info and not comment_info.is_banned and not linked_comment.deleted_utc > 0 %}
<title>{{'@'+comment_info.author.username}} comments on "{{title}} - {{"SITE_NAME" | app_config}}"</title>
<meta property="og:article:author" content="{{'@'+comment_info.author.username}}" />
<meta property="article:published_time" content="{{comment_info.created_datetime}}" />
{% if comment_info.edited_utc %}<meta property="article:modified_time" content="{{comment_info.edited_string}}" />{% endif %}
@ -57,9 +56,7 @@
{% endif %}
{% else %}
<title>{{title | safe}} - {{"SITE_NAME" | app_config}}</title>
<title>{{p.title}} - {{"SITE_NAME" | app_config}}</title>
<meta property="og:article:author" content="{{'@'+p.author.username}}" />
<meta property="article:published_time" content="{{p.created_iso}}" />
{% if p.edited_utc %}<meta property="article:modified_time" content="{{p.edited_string}}" />{% endif %}