--- --- Some html file {% include part.html %} {{ url|remove: 'index.html' }} {% if permalink contains '.html' %}{% endif %} {% assign author = owner %} {% capture author %}...{% endcapture %}