_layouts/default.html in no-style-please-0.4.5 vs _layouts/default.html in no-style-please-0.4.6
- old
+ new
@@ -9,7 +9,13 @@
</main>
{%-if site.goat_counter and jekyll.environment == "production"-%}
{%-include goat_counter.html-%}
{%-endif-%}
+
+ {% if page.custom_js %}
+ {% for js_file in page.custom_js %}
+ <script type="text/javascript" src="{{ site.baseurl }}/assets/js/{{ js_file }}.js"></script>
+ {% endfor %}
+ {% endif %}
</body>
</html>
\ No newline at end of file