How to add facebook comments
I suppose that the only way is create script tag dynamically and use window.location to get a proper URL
var scr = document.createElement(‘script’);
scr.setAttribute(‘src’, window.location.href + ‘/test.js’);
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!