{% if password == 'bluesteel' %}
Private stuff here!
{% else %}
{% form 'password' %}
<input type="password" name="password">
<button type="submit">Submit</button>
{% endform %}
{% endif %}
This snippet of Liquid code will require a password be entered for visitors to access pages, model divisions or profiles.
{% if password == 'bluesteel' %}
Private stuff here!
{% else %}
{% form 'password' %}
<input type="password" name="password">
<button type="submit">Submit</button>
{% endform %}
{% endif %}