IMPR: Add twitter card

This commit is contained in:
Tony Air 2023-01-30 17:25:37 +02:00
parent fb6c8d0b18
commit c78d7416db

View File

@ -35,6 +35,14 @@ $MetaTags
<meta property="og:type" content="<% if $OgType %>$OgType<% else %>article<% end_if %>" /> <meta property="og:type" content="<% if $OgType %>$OgType<% else %>article<% end_if %>" />
<%-- /OpenGraph --%> <%-- /OpenGraph --%>
<%-- Twitter --%>
<meta name="twitter:card" content="summary">
<%-- meta name="twitter:creator" content="" --%>
<meta name="twitter:title" content="<% if $MetaTitle %>{$MetaTitle}<% else %>$Title<% end_if %> - {$SiteConfig.Title}">
<meta name="twitter:description" content="{$Summary}">
<meta name="twitter:image" content="{$AbsoluteBaseURL}resources/app/client/dist/img/logo.png">
<%-- /Twitter --%>
<link rel="canonical" href="{$AbsoluteLink}" /> <link rel="canonical" href="{$AbsoluteLink}" />
<link rel="author" type="text/plain" href="{$AbsoluteBaseURL}humans.txt" /> <link rel="author" type="text/plain" href="{$AbsoluteBaseURL}humans.txt" />