Blogging with personal domain, Github hosted, Jekyll themes
If you are tired of common blogging with Wordpress, Pager like, and want to try some cool things of DIY, Just take a look at these combination:
Buy a personal domain on Godaddy, hosted on Github, and setting you blog template with the help of
Jekyll. It's not a fresh thing when I write this article. So what I am aimed is to introduce a common way to add comments
to your jekyll theme. Disqus Here.
Comments with Disqus
It's actually a lot simpler than you might think. The main process just contains following steps:
1. Register an account on Disqus. After register of disqus account,
you could go next step to register your website, such as your personal domain blog website. The whole register process is very self explanation,
so I will take no more explanation here.
2. Generate code for your jekyll powered blog. The last and crucial step is to select the type of install instruction. You will see a lot of common
blogger platforms. What we choose here is Universal Code here. And once you selected, Disqus will automatically generate a bit of code that look
Now what you need to do is just putting them into the proper layout html template, post layout for example.
4. Noted that, most situation we need to test our Jekyll in local. In order for Disqus to work on your local, you need to tell it that you are working in
development mode. If you don't do this, then you will get an message stating it can't reach the server. All you need to do is add a new variable with a value
Once you have these set up, everything worked perfectly.