Skip to content

Commit 73a34e5

Browse files
authored
Merge pull request #144 from microcmsio/fix/ogp-meta
自動生成したOGP画像をmetaタグにセット
2 parents 035e56f + e9e2bde commit 73a34e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/_slug/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default {
191191
{
192192
hid: 'og:image',
193193
property: 'og:image',
194-
content: this.ogimage && this.ogimage.url,
194+
content: this.ogimage ? this.ogimage.url : this.defaultOgimage,
195195
},
196196
],
197197
};

0 commit comments

Comments
 (0)