title: How can I check multiple if conditions in twig?
body: <p>How can I check multiple if conditions in twig?
  Neither of these seem to work
  Also they all seem a but messy and heavy.</p>
  
  <pre><code>  {% if pageClass != "page-home" %}
    {% if bodyClass != "500" %}
    {% if bodyClass != "404" %}
           {% include '_components/type-bg' with {
                      content: {
                          slug: entry.slug|split(' ')|slice(0, 1)|join
                      },
                  } only %}
     {% endif %}
     {% endif %}
     {% endif %}
  </code></pre>
  
  <p>I have also tried the below</p>
  
  <pre><code>    {% if (pageClass != "page-home") or (if bodyClass != "500") or (if bodyClass != "404")%}
  
        {% include '_components/type-bg' with {
                      content: {
                          slug: entry.slug|split(' ')|slice(0, 1)|join
                      },
                  } only %}
  
      {% endif %}
  </code></pre>