Comments (2)
Yes it is possible. You just go to this URL and follow the instructions: https://disqus.com/admin/create/
They'll give you a script that you need to paste on any of the pages you want the disqus section to appear. I chose to put it in layouts/_default/single.html
. I also recommend that you uncomment and edit the config settings like they suggest.
Here's a demo of how it looks like if you're interested.
is disqus possible with this theme? I configured it but nothing shows up.
You said you configured it but nothing shows up, do you mind giving more information on what do you think is causing this problem so that we can help you?
from blist-hugo-theme.
As @cr105ph1nx said, edit layouts/_default/single.html
and add:
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "{{ .Site.BaseURL }}";
this.page.identifier = "{{ .Title }}";
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://yourDisqusShortname .disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
Don't forget to update yourDisqusShortname
.
You probably want to paste it below {{- partial "social.html" . -}}
in the existing code.
from blist-hugo-theme.
Related Issues (20)
- Is it possible to change number of posts in blog page? HOT 2
- Search results broken on https://blist.vercel.app/en/ HOT 1
- Twitter Shortcode appears broken HOT 4
- CSS Compatibility with Github project pages HOT 1
- How to remove option for different languages HOT 2
- Changing colors of the light mode HOT 4
- Support tiktok in social buttons
- Markdown code input isn't rendering as expected. HOT 2
- Search is indexing only article's Titles HOT 2
- Multi Language support HOT 2
- Idea: Table of Contents for blog entries
- Add Google Scholar Social Icon
- Add mastodon icon? HOT 2
- Hugo server not coming up HOT 3
- Add image in md file
- Add facebook icon?
- Specify the order of the social icons.
- Skip thumbnail in blog post entry HOT 1
- bug: css on mobile view HOT 2
- How to add utterance comment? HOT 2
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 blist-hugo-theme.