--- --- {% comment %} include the variables-hook if it exists {% endcomment %} {% assign hook = 'variables-hook.scss' %} {% assign _hook_path = hook | prepend: '/assets/css/' %} {% assign _hook_obj = site.static_files | where: 'path', _hook_path | first %} {% if _hook_obj %} {% include_relative {{ hook }} %} {% endif %} @import "{{ site.theme }}"; // append your custom style below