I am new to velocity.
I want to create new Liferay theme using bootstrap. But don't know how to include js
files in the template.
I am new to velocity.
I want to create new Liferay theme using bootstrap. But don't know how to include js
files in the template.
Actually it's the same way as you would with an HTML page:
<script type="text/javascript" src="/my-theme/js/jquery.min.js"></script>
Just make sure that the JavaScript is in the relevant js folder in the theme's folder structure.