I am new to Jekyll. I have a post with the following yml front matter:
---
layout: images-grid
title: Grid Sample
image: "/imgs/image1.jpg"
---
I would like to create .rb plugin that identifies all the posts with "layout = images-grid" and adds the height and the width of the image as a yaml metadata so the height and the width will be available to the liquid templates.
Is there any way to do this?