我试图在Django中创建一个基本的HTML文件,其中几乎是负责继承模板的其他页面,但导航栏似乎不起作用。任何人都知道Bootstrap是否存在已知问题,或者我是否做了可怕的错误?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<ul class="nav navbar-nav">
<li class="navbar-brand"><a href="#">BRAND</a></li>
<li class="navbar-link"><a href="#">Admin</a></li>
<li class="navbar-link"><a href="#">Other</a></li>
</ul>
</div>
</nav>
<div class="container">
<div class="jumbotron">
<h1>Welcome to Index</h1>
<h2>This is index.html page showing!</h2>
</div>
</div>
</body>
</html>