keep it as simple as possible and therefore only include the templating
Download the file
ownnotes/js/handlebars.js and include it at the very
ownnotes/templates/main.php before the other scripts and styles:
script method’s first parameter specifies the application which
js directory, minus the
.js extension. In the case
ownnotes/js/handlebars.js would be loaded.
jQuery is included by default on every page.
To include CSS, use the template’s
style method, as in the example
below. As with
script, the first parameter is the application to find
the CSS file in and the second parameter is the name of the CSS file,
.css file extension.
style('ownnotes, 'style'); // adds ownnotes/css/style.css