Ghost theme (MIT license)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
618 B

{{#contentFor "social_meta"}}
<!-- Open Graph Meta Tags -->
<meta property="og:url" content="{{@blog.url}}{{url}}">
{{#if image}}
<meta property="og:image" content="{{@blog.url}}{{image}}">
{{else}}
<meta property="og:image" content="{{@blog.url}}{{@blog.logo}}">
{{/if}}
<!-- Twitter Card Meta Tags -->
<meta property="twitter:url" content="{{@blog.url}}{{url}}">
{{#if image}}
<meta property="twitter:image" content="{{@blog.url}}{{image}}">
{{else}}
<meta property="twitter:image" content="{{@blog.url}}{{@blog.logo}}">
{{/if}}
{{/contentFor}}