Development

Concatenate JS Files

Minimise HTTP requests by including all JS files inside a single assets/js/main.js file.

---
---

{% include_relative uikit.min.js %}
{% include_relative uikit-icons.min.js %}

Define and point to our main.js client-side script file in _includes/head.html

<script src="{{ "/assets/js/main.js" | relative_url }}"></script>

Related Posts

Hugo

The Ultimate Guide to Choosing and Customizing Hugo Themes

Unleashing the power of Hugo static generator for your website.

Hugo

Unlock the Potential of Your Hugo Blog

Delve deeper into the world of Hugo blog themes and how to get started fast.