fix: the invalid share link for images.
This commit is contained in:
parent
30d328adc6
commit
303208003b
@ -13,14 +13,14 @@ const { post } = Astro.props;
|
|||||||
const postURL = urlJoin(options.website, post.permalink);
|
const postURL = urlJoin(options.website, post.permalink);
|
||||||
const qq = querystring.stringify({
|
const qq = querystring.stringify({
|
||||||
url: postURL,
|
url: postURL,
|
||||||
pics: urlJoin(options.website, post.cover.src),
|
pics: post.cover.src,
|
||||||
summary: post.summary,
|
summary: post.summary,
|
||||||
});
|
});
|
||||||
const weibo = querystring.stringify({
|
const weibo = querystring.stringify({
|
||||||
url: postURL,
|
url: postURL,
|
||||||
type: 'button',
|
type: 'button',
|
||||||
language: 'zh_cn',
|
language: 'zh_cn',
|
||||||
pic: urlJoin(options.website, post.cover.src),
|
pic: post.cover.src,
|
||||||
searchPic: true,
|
searchPic: true,
|
||||||
title: `【${post.title}】${post.summary}`,
|
title: `【${post.title}】${post.summary}`,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user