Closed longguzzz closed 2 years ago
replace post.permalink with decodeURI(post.permalink) replace page.permalink with decodeURI(page.permalink)
文章底部的永久分享链接里面,中文是urlencode形式的。hexo提供了decodeURI()函数,所以在引用到的相关地方调用了这个函数。
Issue resolved:
Screenshots with this changes:
参考
replace post.permalink with decodeURI(post.permalink) replace page.permalink with decodeURI(page.permalink)
PR Type
Description
文章底部的永久分享链接里面,中文是urlencode形式的。hexo提供了decodeURI()函数,所以在引用到的相关地方调用了这个函数。
Others
Issue resolved:
Screenshots with this changes:
参考