theme-next / hexo-filter-optimize

A Hexo plugin that optimize the pages loading speed.
MIT License
47 stars 2 forks source link

hexo-filter-optimize cause Valine comments not work #9

Closed nankingcigar closed 5 years ago

nankingcigar commented 6 years ago

Hi, When I use hexo-filter-optimize, even js code run new Valine({ el: '#comments' , verify: {{ theme.valine.verify }}, notify: {{ theme.valine.notify }}, appId: '{{ theme.valine.appid }}', appKey: '{{ theme.valine.appkey }}', placeholder: '{{ theme.valine.placeholder }}', avatar:'{{ theme.valine.avatar }}', guest_info:guest, pageSize:'{{ theme.valine.pageSize }}' || 10, }); but the comments element doesn't show. Console no errors. Anyone know how to let it works?

ivan-nginx commented 5 years ago

Try to use vendors CDN. Still not working?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.