Add SEO <meta> tags

Now that the blog was setup and out in the world, and there was a momentum built with a few posts, it was time to do some SEO work. SEO had a wide scope and not something I would tackle in it’s entirety for just a small blog, but I guess doing atleast the bare minimum would be good.

Add <meta> tags in <head>

To achieve my goals, I used a Jekyll Plugin called jekyll-seo-tag.
What this plugin does is simple: inject meta tags into <head> with data entered in _config.yml and/or the page front-matter.

Add data to be used by jekyll-seo-tag plugin

For the plugin to inject meta tags with relevant data, the data needs to be added to _config.yml and/or page’s front matter.
Some of the data to be added are listed below.

Adding in _config.yml

Data added to _config.yml

Blog description, author, tagline, and social links which are generally global across all my blog posts are added here. Some of the data, like description, can be also be used as a fallback if corresponding data in not present in the page’s front matter.

Adding in page’s front-matter

Data added to front-matter of a page

Description, and tags which are relevant on a per-page basis are added here.
While injecting front matter using the automated bash script, description, and tags are also injected with some default data, which is to be overridden while writing the blog post.

Social Links to be added in meta tags

Also, adding social links to be included in the meta tags as well. These include links to all my public social profiles like twitter, facebook, github, linkedin, and stack-overflow.

For more details, the official configuration documentation can be found here.


Verification and Indexing in Google Search Console

Verification using Google Site Verification

Verification of ownership of my site in Google Search Console is the first step to request indexing of my site from Google.

Official Documentation.

Adding a sitemap

We need to submit a sitemap.xml for the page to be indexed. The sitemap is generated Jekyll Sitemap Generator Plugin.

Once the sitemap is generated, we need to submit the sitemap link in Google Search Console.

Requesting Indexing

Once the above steps are done, we need to request indexing from Google. This does not ensure that the page will get indexed, but if it does, it does not specify when that will happen. It’s a waiting game now.


With that, the basic setup for SEO is done.

Check out the entire series of posts related to Blog Setup