I have the following partial that I would like to include on certain pages of my site based on page title. What is the proper way to say “if the page title is ‘this’ or ‘that’ render the include”?
{% if page.title != contains "Foo" or "Bar" %}
{% include about.html %}
{% endif %}
I assumed it was simply the “or” operator, but alas, this does not work.