@@ -6,32 +6,32 @@ export default function makeHeadTags({ title, description, url, image }) {
66 if ( title ) {
77 tags . title = title ;
88 tags . meta . push (
9- { property : ' og:site_name' , content : title } ,
10- { property : ' og:title' , content : title } ,
11- { name : ' twitter:title' , content : title }
9+ { property : " og:site_name" , content : title } ,
10+ { property : " og:title" , content : title } ,
11+ { name : " twitter:title" , content : title }
1212 ) ;
1313 }
1414
1515 if ( description ) {
1616 tags . description = description ;
1717 tags . meta . push (
18- { name : ' description' , content : description } ,
19- { property : ' og:description' , content : description } ,
20- { name : ' twitter:description' , content : description }
18+ { name : " description" , content : description } ,
19+ { property : " og:description" , content : description } ,
20+ { name : " twitter:description" , content : description }
2121 ) ;
2222 }
2323
24- if ( url ) {
25- tags . meta . push (
26- { property : 'og:url' , content : url } ,
27- { name : 'twitter:url' , content : url }
28- ) ;
29- }
24+ // if (url) {
25+ // tags.meta.push(
26+ // { property: 'og:url', content: url },
27+ // { name: 'twitter:url', content: url }
28+ // );
29+ // }
3030
3131 if ( image ) {
3232 tags . meta . push (
33- { property : ' og:image' , content : image } ,
34- { name : ' twitter:image' , content : image }
33+ { property : " og:image" , content : image } ,
34+ { name : " twitter:image" , content : image }
3535 ) ;
3636 }
3737
0 commit comments