mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Add twitter card
This commit is contained in:
parent
fb6c8d0b18
commit
c78d7416db
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user