Closed kuzen closed 2 years ago
a/index.html 和a/ 会被是为不同的网页,其评论不通用。虽然可以通过设置waline的path来解决(如下)
a/index.html
a/
Waline({ path: location.pathname.endsWith('/index.html')?location.pathname.substring(0,(location.pathname.lastIndexOf('/')+1)):location.pathname })
但是 hexo-component-inferno 并没有提供设置 path 的接口,希望能提供一个设置path的接口。(虽然现在直接改js也能用
相关issue: ppoffice/hexo-theme-icarus#1021, walinejs/waline#748
草,发现此仓库6天前的更新已经加了
a/index.html
和a/
会被是为不同的网页,其评论不通用。虽然可以通过设置waline的path来解决(如下)但是 hexo-component-inferno 并没有提供设置 path 的接口,希望能提供一个设置path的接口。(虽然现在直接改js也能用
相关issue: ppoffice/hexo-theme-icarus#1021, walinejs/waline#748