Looking into the Disqus_static led me to all sorts of import and set up issues, so I started looking at incuding the universal JS for this.
Digging into the template files, I found the author had already included this on the
We can see here that its already got pretty much everything we need
1 2 3 4 5 6 7 8 9 10 11 12 13 14
So what do we do to get this to activate?
The clue is in the
if DISQUS_SITENAME, remember our config file, lets add it in there (
DISQUS_SITENAME = '11eight-co-uk'
Note to self:
I did have the sitename as
11eight.co.uk and this chucked up JS https errors when loading pages.
Looking into it, it seems we need the
SHORTNAME from Disqus in here, which replaces the
- and so allows Disqus wildcard SSL cert to work on the subdomain
Wildcard certs only allow the domain level they are on (so 11eight.co.uk.disqus.com is not valid)
Next up Hosting. (Raspberry PI and Cloudflare-warp I think !)