message no. 106151
Posted by mg123 in #jekyll at 2015-08-04T19:28:07Z
Good day! Can I conditionally set a variable within a Jekyll template? I am prefixing my assets with `{% if site.env != 'local' || site.env != 'aws' %}foo{else}bar{% endif %}` is there a cleaner way to set a variable in a conditional and then use that variable the rest of the way?