The First Theme Update


So, I am using the theme Daring By Matthew Lang on this blog as of now. I have also added the Disqus code to the theme for comments.

A few days ago, an update for the theme came out. Normally, I wouldn’t care (I mean if I was on WordPress or something, I definitely wouldn’t). But to fully experience the transition to Ghost for blogging, I decided that it would be unfair for me to ignore this opportunity. So, I downloaded the theme zip from GitHub, made the necessary modifications for comments and the Tweet button, uploaded and applied the theme using the admin interface of Ghost.

The first thing after the page refresh was the not-so-subtle red colour in the heading font. On reading the changelog, I found that the author of this theme had included themes support for post headings, etc.

The Second thing I noticed was a red border on the top of the page. I’m sure people like borders on top, but I don’t. Again, the border colour could be changed using the theme selection in one of the hbs files (it was default.hbs, in case you want to know).

The third thing was the fonts. They were much larger. It made me feel that the subtlety of the theme that made me choose it when I put it to use on this blog was completely lost.

After sometime, I decided to revert to the theme I originally chose (version 0.1.4) and decided to not update the theme until something really breaks. I liked the smaller fonts. I liked the borderless design. I didn’t care for the improvements made to it. I’m sticking with version 0.1.4.

This also made me examine the theme code for Ghost themes and I realised that theme updates are not useful for anyone who is happy with the theme he/ she is using.

Posted on | Write a comment

The Comments


Ok, so I thought Ghost was everything I ever wanted on top of Node.js but I was wrong. It misses the most important thing for every Internet troll ever – the comments section (not that this blog is ever going to get its own Internet troll. Why? Well due to its smashing popularity.

So, I decided to search around to see how I can add comments. Just like WordPress and others (most of which have a dedicated comments module built into them), you have two most popular methods to accomplish this task:

  • Facebook
  • Disqus

(I know there also is NodeBB and Livefyre but I haven’t seen those in practice much)

I decided to go with Disqus for some reason. It’s straight forward. You go to their website and find an option that says add Disqus to your website. Once you give them the details, they give you a code snippet.

Stating the obvious here: The method to accomplish this is simple. Just copy the code the Disqus guys give you to the place where you want to display the comments, which in this case would be at the end of the post on a post page. If you want comment count to display for each post on the home page, then you have to put the required code in the loop (YES! They have one too, just like WordPress, I mean why wouldn’t they? That’s how Blog engines work. In fact that’s how most stuff works!)

So yeah, and voila! You have comments.

I’m having fun with this so far. Let’s see how it goes..

Posted on | Write a comment