File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
src/lib/components/molecules Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 5
5
6
6
<svelte:head >
7
7
<meta name ="title" content ={title } />
8
- {#if description }
9
- <meta name ="description" content ={description } />
10
- {/if }
8
+ <meta property ="og:title" content ={title } />
9
+ <meta property ="twitter:title" content ={title } />
11
10
12
- <!-- Open Graph / Facebook -->
13
11
<meta property =" og:type" content =" website" />
14
- <meta property =" og:url " content =" https://metatags.io/ " />
15
- < meta property = "og:title" content ={ title } />
12
+ <meta property =" twitter:card " content =" summary_large_image " />
13
+
16
14
{#if description }
15
+ <meta name ="description" content ={description } />
17
16
<meta property ="og:description" content ={description } />
17
+ <meta property ="twitter:description" content ={description } />
18
18
{/if }
19
- <meta property =" og:image" content =" https://metatags.io/images/meta-tags.png" />
20
19
21
- <!-- Twitter -->
22
- <meta property =" twitter:card" content =" summary_large_image" />
23
- <meta property =" twitter:url" content =" https://metatags.io/" />
24
- <meta property ="twitter:title" content ={title } />
25
- {#if description }
26
- <meta property ="twitter:description" content ={description } />
20
+ {#if websiteUrl }
21
+ <meta property ="og:url" content ={websiteUrl } />
22
+ <meta property ="twitter:url" content ={websiteUrl } />
23
+ {/if }
24
+
25
+ {#if image }
26
+ <meta property ="og:image" content ={image } />
27
+ <meta property ="twitter:image" content ={image } />
27
28
{/if }
28
- <meta property =" twitter:image" content =" https://metatags.io/images/meta-tags.png" />
29
29
</svelte:head >
You can’t perform that action at this time.
0 commit comments