Minor fixtures

This commit is contained in:
Tony Air 2023-03-24 20:36:04 +02:00
parent c78d7416db
commit 882240c34e

View File

@ -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 %>