GitHub Download

{{js}} helper

It creates URL to the CSS file from the js catalog in the assets directory. Additionally, it adds to the file URL the v= param.


{{js "filepath.js"}}


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

Example output:

<script src=""></script>


Get the latest Publii news, updates and more delivered directly to your email inbox

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at By clicking below, you agree that we may process your information in accordance with our Privacy Policy.