+[2016-08-07T18:44:37Z]miklbhow does chruby differ from rbenv? +[2016-08-07T18:46:08Z]nickjjless magic mainly +[2016-08-07T18:46:19Z]nickjjbut both have the same end goal +[2016-08-07T21:02:47Z]bobeirasahow do i set jekyll to use another ruby? +[2016-08-07T21:02:58Z]bobeirasadoes it just uses the default?
+[2016-08-08T14:33:19Z]nickjjcan someone explain why this happens? i have a posts.html template which is a blog index page , within each post (that uses the posts layout) i optionally render a hero image if the "hero" frontmatter exists in a post +[2016-08-08T14:33:52Z]nickjjthis works great and i can reference post.hero as expected -- however, if i apply this exact same code to an individual post i cannot reference post.hero , instead i need to use page.hero +[2016-08-08T14:41:58Z]jaybenickjj: you are probably using a [[ liquid ]] loop to produce the post index and the loop is built with the "post" term as the variable +[2016-08-08T14:41:58Z]jekyllrb(liquid) (#1) https://github.com/Shopify/liquid/wiki/Liquid-for-Designers, or (#2) https://github.com/jekyll/jekyll/blob/master/lib/jekyll/filters.rb#L204, or (#3) http://jekyllrb.com/docs/templates/, or (#4) http://shopify.github.com/liquid/ +[2016-08-08T14:42:31Z]jaybeThe actual variable containing the [[ frontmatter ]] is page.VAR