This is more of a Liquid Templating engine
question, than a Jekyll
one. It appears that Liquid
has support for a {% break %}
tag which is what you are looking for.
I would suggest making sure your Liquid
gem is updated and then try using {% break %}
in your code as suggested here.