Is it possible to check if partial exists?
Something like
<div id="footer">
{% if is_file("footer") %}
{{ partial("footer") }}
{% else %}
Partial "footer" doesn't exists
{% endif %}
</div>
Is it possible to check if partial exists?
Something like
<div id="footer">
{% if is_file("footer") %}
{{ partial("footer") }}
{% else %}
Partial "footer" doesn't exists
{% endif %}
</div>