+ [2016-02-23T12:39:25Z] jekyllrb Title: Jekyll liquid template with variable parameter - Stack Overflow (at stackoverflow.com)
+ [2016-02-23T19:17:34Z] parkr Aloha!
+ [2016-02-23T22:35:29Z] travis-ci jekyll/jekyll#6993 (master) The build was broken. https://travis-ci.org/jekyll/jekyll/builds/111336690
+ [2016-02-23T22:36:52Z] travis-ci jekyll/jekyll#6993 (master) The build was broken. https://travis-ci.org/jekyll/jekyll/builds/111336690
+ [2016-02-23T22:55:42Z] travis-ci jekyll/jekyll#6993 (master) The build was broken. https://travis-ci.org/jekyll/jekyll/builds/111336690

message no. 124657

Posted by parkr in #jekyll at 2016-02-23T19:17:34Z

Aloha!
+ [2016-02-24T02:43:21Z] jeaye How can I check if a liquid tag exists?
+ [2016-02-24T02:43:54Z] jeaye I share a header among a couple jekyll sites and one of them needs {% feed_meta %} in <head> but the rest should ignore it.
+ [2016-02-24T02:44:33Z] jeaye I figure I could wrap it in a conditional, based on site.has_feed or something, but I'm wondering if there's a built-in way of checking for this which I've missed.
+ [2016-02-24T02:54:00Z] jaybe {% if myvar %} ... {% else }% ... {% endif %} ?
+ [2016-02-24T02:54:16Z] jaybe [[liquid]]