DEV Community

Discussion on: Creating dynamic layouts with Jekyll

Collapse
 
remotesynth profile image
Brian Rinaldi

Very cool. I did something similar years back but it used a file naming convention so that I didn't need to put things into the yaml (the includes depended on the categories metadata in this case). Of course, that means that the includes couldn't be reused in the same manner as yours and perhaps not as flexible but that was perfect for my use case.