Comments (3)
So I pasted the following into the two pages that were not loading comments
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'YOUR_DISQUS_SHORTNAME'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')`[0]).appendChild(dsq);
`})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
After which I ran a local server, and lo, the comment section showed up. I then deleted the above, saved the file, and pushed the changes to github and now comments show on the website. I don't know what that was all about, but things seem to be working. I'll close the issue, but if you think you have any idea what happened I'd be curious to hear.
from pelican-bootstrap3.
The same thing is happening to me now. I tried copy pasting the code into the .html file for the two articles but it's not working.
@mclearc did you ever get any clarity on this?
from pelican-bootstrap3.
@GuneetKohli I never was sure what happened her. But there are a variety of places where things could've gone wrong, including on Disqus's end. So I'd say, check your publishing settings to be sure that they are correct. Make sure there is nothing off with the syntax of your pages, and then publish and pray. I will say that I haven't faced this problem since.
from pelican-bootstrap3.
Related Issues (20)
- Question about using tique_search HOT 3
- Path to sidebar image HOT 2
- code block wrapping HOT 2
- Add Category as a class of <body> HOT 1
- PAGES got removed in master HOT 2
- Disqus comments not working HOT 2
- Disqus comment count script is loaded if displaying comments is disabled HOT 1
- Can't show disqus comments HOT 4
- tipue search failed to generate correct url HOT 7
- Square FontAwesome icons exemption and custom icons HOT 1
- enabling pelican-bootstrap3 affects 'codehilite' extension in MD_EXTENSIONS HOT 1
- Add icon for Goodreads account (social link)? HOT 1
- Margin problems on 'post-info' class HOT 1
- Wiki HOT 2
- Update embedded shariff version HOT 2
- Add support for rst admonitions HOT 1
- Anchor link colors HOT 1
- The piwik url HOT 1
- Tipue search box pinned to top of viewport HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pelican-bootstrap3.