message no. 147114
Posted by darkbit in #jekyll at 2016-08-17T04:52:10Z
How can i check if a data file is present or have no entries? I tried site.data.something == nil or site.data.something.size == 0 but it doesn't seem to work. It seems that jekyll does not create the variable if the data file does not exist and so how can I check the variable's existence?