title: Finding window width in liquid
body: <p>I am looking for a way to use an if statement including the viewport width directly in Liquid, not in CSS.</p>
  
  <p>What I want to do is the following:
  I have two different navigations for my website, one of them should be used for the mobile version and the other for the desktop version. In Liquid the navigation is loaded into the header like this:</p>
  
  <pre><code>        {% include 'navigation' %}
  </code></pre>
  
  <p>So I hope I can do something like this:</p>
  
  <pre><code>    {%- if width &gt; 1000 -%}
          {% include 'navigation' %}
      {%- else -%}
          {% include 'navigation-mobile' %}
      {%- endif -%}
  </code></pre>
  
  <p>Thank you guys in advance!</p>