I include a javascript program in an HTML file, however, the Google template engine doesn’t seem to be able to find it. The “program.js” is stored in the “/static/js” directory of the application, and the “{% include … %}” command is used in “base.html” as follows. But nothing is included whatsoever. What was the problem? Thanks.
base.html:
<html ...>
...
<script>
{% include "/static/js/program.js" %}
</script>
...
</html>
First set the folder of the javascript in your app.yaml to the static handlers
This way your app will be able to serve files from that url
Then address to it normally in the HTML template file or code: