How to include javascript library in site

Here is my head.html:

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>{{ .Site.Title }}</title>
	<link rel="stylesheet" href="{{ "css/bootstrap.css" | relURL }}">
	<link rel="stylesheet" href="{{ "css/bootstrap-grid.css" | relURL }}">
	<link rel="stylesheet" href="{{ "css/bootstrap-reboot.css" | relURL }}">
	<link rel="stylesheet" href="{{ "css/bootstrap-reboot.css" | relURL }}">
	<script src="{{ "js/bootstrap" | relURL }}"></script>
	<script src="{{ "js/bootstrap.bundle" | relURL }}"></script>
</head>

The CSS files can be located, but not the javascript files.
How do I fix this?

maybe add .js in the end of bootstrap and the bootstrap.bundle

Yes, that is correct. I forgot to place the append the script names with “.js”

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.