assets/js/custom.js' | relative_url }}?v={{ cache_bust }}"></script>
    {% else %}
      <script src="{{ '/assets/js/theme.min.js' | relative_url }}?v={{ cache_bust }}"></script>
      <script src="{{ '/assets/js/custom.min.js' | relative_url }}?v={{ cache_bust }}"></script>
    {% endif %}

    <!-- Page-specific Scripts -->
    {% if page.custom_js %}
      {% for js_file in page.custom_js %}
        <script src="{{ '/assets/js/' | append: js_file | append: '.js' | relative_url }}?v={{ cache_bust }}"></s