message no. 159023
Posted by novonagu in #jekyll at 2016-12-11T02:22:59Z
Is there a way to perform mathematical operations with liquid variables? Example - {% assign length = 16 %} I want to make a variable called "rows" where it is the variable {{length}} divided by four. I have tried {{length/4}} and also {% assign rows = length/4 %} and neither works