+ [2016-05-23T12:37:16Z] gynter this only works if the filename does not contain extra dots ;)
+ [2016-05-23T12:37:21Z] gynter i.e fails on my.file.ext
+ [2016-05-23T12:37:40Z] gynter but otherwise should work fine
+ [2016-05-23T12:41:08Z] Dry_Lips Yeah... I simply wasn't able to get your example working... But that's most likely because I'm so inexperienced with Liquid... This stuff can be kind of complex for a noob like myself :D

message no. 136287

Posted by gynter in #jekyll at 2016-05-23T08:16:33Z

ohai
+ [2016-05-24T23:08:07Z] RedHatter I can't figure out how to set a property on an object with liquid. I would expect "{% assign blog = site.posts.first %} {% assign blog.menu = 3 %} " to work
+ [2016-05-24T23:08:12Z] RedHatter but it does not.
+ [2016-05-24T23:09:01Z] RedHatter Do I have the syntax wrong, or is this not possible with liquid?
+ [2016-05-24T23:12:00Z] miklb [[liquid]]
+ [2016-05-24T23:12:00Z] 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/