jekyll-contentblocks
Gives you a mechanism in Jekyll to pass content up from pages into their parent layouts. It’s kind of like having Rails’ content_for available for Jekyll
To install, add this to your Gemfile:
gem "jekyll-contentblocks"
and run bundle install. To use, run Jekyll with
bundle exec preceding it:
$ bundle exec jekyll build
$ bundle exec jekyll serve