Added Snippets
There are a much more things I would like to share on my digital corner, and a post article might not be the best option. I had a few ideas for this, but I decided to go with a simple one for now — Snippets. I will be micro-sharing code snippets & TILs (“today I learned”) kinda stuff here. The goal is to save interesting bits of code that I come across.
Since this blog is powered by Jekyll, I didn’t had to do much to make this work.
I just created a new folder named _snippets
in the root of the project, added a new page named snippets.md
.
And finally added snippets
under collection in _config.yml
.
It currently uses the same layout as the blog posts for now, which I do plan to change; but that will be a progressive update sometime in future, as my current theme is based on a variation of older version of long-haul.