mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
Minor fixtures
This commit is contained in:
parent
c78d7416db
commit
882240c34e
@ -26,9 +26,18 @@ $MetaTags
|
|||||||
<% if $MetaDescription %>
|
<% if $MetaDescription %>
|
||||||
<meta property="og:description" content="{$MetaDescription}" />
|
<meta property="og:description" content="{$MetaDescription}" />
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% if $MetaImage %>
|
|
||||||
|
<% if $FeaturedImage %>
|
||||||
|
<meta property="og:image" content="{$FeaturedImage.Link}" />
|
||||||
|
<meta property="twitter:image" content="{$FeaturedImage.Link}" />
|
||||||
|
<% else_if $MetaImage %>
|
||||||
<meta property="og:image" content="{$MetaImage.Link}" />
|
<meta property="og:image" content="{$MetaImage.Link}" />
|
||||||
|
<meta property="twitter:image" content="{$MetaImage.Link}" />
|
||||||
|
<% else %>
|
||||||
|
<meta name="og:image" content="{$AbsoluteBaseURL}resources/app/client/dist/img/logo.png" />
|
||||||
|
<meta name="twitter:image" content="{$AbsoluteBaseURL}resources/app/client/dist/img/logo.png" />
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if $FacebookAppID %>
|
<% if $FacebookAppID %>
|
||||||
<meta property="fb:app_id" content="{$FacebookAppID}" />
|
<meta property="fb:app_id" content="{$FacebookAppID}" />
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
Loading…
Reference in New Issue
Block a user