forked from rDrama/rDrama
fdsfsd
parent
f7173d2457
commit
7b420c2821
|
@ -92,15 +92,15 @@
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
|
|
||||||
{% if comment_info and not comment_info.is_banned and not linked_comment.deleted_utc > 0 %}
|
{% if comment_info and not comment_info.is_banned and not linked_comment.deleted_utc > 0 %}
|
||||||
<title>{{'@'+comment_info.author.username}} comments on "{{p.title}} - {{'SITE_NAME' | app_config}}"</title>
|
<title>{{'@'+comment_info.author.username}} comments on "{{p.realtitle(v)}} - {{'SITE_NAME' | app_config}}"</title>
|
||||||
|
|
||||||
|
|
||||||
<meta property="og:article:author" content="{{'@'+comment_info.author.username}}" />
|
<meta property="og:article:author" content="{{'@'+comment_info.author.username}}" />
|
||||||
<meta property="article:published_time" content="{{comment_info.created_datetime}}" />
|
<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 %}
|
{% if comment_info.edited_utc %}<meta property="article:modified_time" content="{{comment_info.edited_string}}" />{% endif %}
|
||||||
<meta property="og:description" name="description" content="{{comment_info.body}}" />
|
<meta property="og:description" name="description" content="{{comment_info.realbody(v)}}" />
|
||||||
<meta property="og:author" name="author" content="{{'@'+comment_info.author.username}}" />
|
<meta property="og:author" name="author" content="{{'@'+comment_info.author.username}}" />
|
||||||
<meta property="og:title" content="{{'@'+comment_info.author.username}} comments on {{p.title}} - {{'SITE_NAME' | app_config}}" />
|
<meta property="og:title" content="{{'@'+comment_info.author.username}} comments on {{p.realtitle(v)}} - {{'SITE_NAME' | app_config}}" />
|
||||||
<meta property="og:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb%}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
<meta property="og:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb%}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
||||||
{% if p.url and p.url.lower().endswith('.mp4') %}
|
{% if p.url and p.url.lower().endswith('.mp4') %}
|
||||||
<meta property="og:video" content="{{ p.realurl(v) }}" />
|
<meta property="og:video" content="{{ p.realurl(v) }}" />
|
||||||
|
@ -110,9 +110,9 @@
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary" />
|
<meta name="twitter:card" content="summary" />
|
||||||
<meta name="twitter:site" content="{{request.host_url}}">
|
<meta name="twitter:site" content="{{request.host_url}}">
|
||||||
<meta name="twitter:title" content="{{'@'+comment_info.author.username}} comments on {{p.title}} - {{'SITE_NAME' | app_config}}" />
|
<meta name="twitter:title" content="{{'@'+comment_info.author.username}} comments on {{p.realtitle(v)}} - {{'SITE_NAME' | app_config}}" />
|
||||||
<meta name="twitter:creator" content="{{'@'+comment_info.author.username}}">
|
<meta name="twitter:creator" content="{{'@'+comment_info.author.username}}">
|
||||||
<meta name="twitter:description" content="{{comment_info.body}}" />
|
<meta name="twitter:description" content="{{comment_info.realbody(v)}}" />
|
||||||
<meta name="twitter:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb%}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
<meta name="twitter:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb%}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
||||||
<meta name="twitter:url" content="{{p.permalink | full_link}}" />
|
<meta name="twitter:url" content="{{p.permalink | full_link}}" />
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<title>{{p.title}} - {{'SITE_NAME' | app_config}}</title>
|
<title>{{p.realtitle(v)}} - {{'SITE_NAME' | app_config}}</title>
|
||||||
|
|
||||||
|
|
||||||
<meta property="og:article:author" content="{{'@'+p.author.username}}" />
|
<meta property="og:article:author" content="{{'@'+p.author.username}}" />
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
{% if p.edited_utc %}<meta property="article:modified_time" content="{{p.edited_string}}" />{% endif %}
|
{% if p.edited_utc %}<meta property="article:modified_time" content="{{p.edited_string}}" />{% endif %}
|
||||||
<meta property="og:description" name="description" content="{{p.realbody(V)}}" />
|
<meta property="og:description" name="description" content="{{p.realbody(V)}}" />
|
||||||
<meta property="og:author" name="author" content="{{'@'+p.author.username}}" />
|
<meta property="og:author" name="author" content="{{'@'+p.author.username}}" />
|
||||||
<meta property="og:title" content="{{p.title}} - {{'SITE_NAME' | app_config}}" />
|
<meta property="og:title" content="{{p.realtitle(v)}} - {{'SITE_NAME' | app_config}}" />
|
||||||
<meta property="og:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb%}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
<meta property="og:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb%}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
||||||
{% if p.url and p.url.lower().endswith('.mp4') %}
|
{% if p.url and p.url.lower().endswith('.mp4') %}
|
||||||
<meta property="og:video" content="{{ p.realurl(v) }}" />
|
<meta property="og:video" content="{{ p.realurl(v) }}" />
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary_large_image"/>
|
<meta name="twitter:card" content="summary_large_image"/>
|
||||||
<meta name="twitter:site" content="{{request.host_url}}">
|
<meta name="twitter:site" content="{{request.host_url}}">
|
||||||
<meta name="twitter:title" content="{{p.title}} - {{'SITE_NAME' | app_config}}" />
|
<meta name="twitter:title" content="{{p.realtitle(v)}} - {{'SITE_NAME' | app_config}}" />
|
||||||
<meta name="twitter:creator" content="{{'@'+p.author.username}}">
|
<meta name="twitter:creator" content="{{'@'+p.author.username}}">
|
||||||
<meta name="twitter:description" content="{{p.realbody(v)}}" />
|
<meta name="twitter:description" content="{{p.realbody(v)}}" />
|
||||||
<meta name="twitter:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb %}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
<meta name="twitter:image" content="{% if p.is_image %}{{p.realurl(v)}}{% elif p.has_thumb %}{{p.thumb_url}}{% else %}{{'SITE_NAME' | app_config}}/assets/images/{{'SITE_NAME' | app_config}}/preview.webp{% endif %}" />
|
||||||
|
|
Loading…
Reference in New Issue