If I do that:
var importance_not_matched = {{item.this_article_importance}} <= article_importance;
It seems to work but in my IDE (Pycharm) I have errors: "Expression expected" on the "<=" and "underterminated statment" on the final ";"
I'm using flask, item.this_article_importance is an int
I solved my issue by changing to:
year_not_matched = {{item.this_article_year <= article_year}};
I don't understand why it's better yet though