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
:
and run bundle install
. To use, run Jekyll with
bundle exec
preceding it: