ogp画像の差し替え
parent
bf82a6ac2e
commit
a5331668be
|
@ -115,7 +115,7 @@ module.exports = function (hexo) {
|
||||||
else if (hasThumbnail)
|
else if (hasThumbnail)
|
||||||
og_image = getThumbnail(post);
|
og_image = getThumbnail(post);
|
||||||
else
|
else
|
||||||
og_image = getConfig('article.og_image', '/images/og_image.png');
|
og_image = getConfig('article.og_image', '/images/og_image.jpg');
|
||||||
|
|
||||||
return this.url_for(og_image);
|
return this.url_for(og_image);
|
||||||
});
|
});
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 164 KiB |
Binary file not shown.
Before Width: | Height: | Size: 189 KiB |
Loading…
Reference in New Issue