1 2 3 4 5 6 7 8 9 10 11
{% if site.scripts %} {% for script in site.scripts -%} <script src="{{ script }}"></script> {% endfor -%} {% else %} {% for script in scripts -%} <script> {{ script.content }} </script> {% endfor -%} {% endif %}