Move navbar out of base
This commit is contained in:
parent
c3ae1a1db8
commit
a1d105780f
2 changed files with 22 additions and 22 deletions
|
@ -13,28 +13,7 @@
|
|||
</head>
|
||||
<body id="page-top">
|
||||
{% block navbar %}
|
||||
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand page-scroll" href="/">
|
||||
TheOrangeOne
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a class="page-scroll" href="/about/">About</a></li>
|
||||
<li><a class="page-scroll" href="/projects/">Projects</a></li>
|
||||
<li><a class="page-scroll" href="/contact/ ">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% include "extras/navbar.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
|
21
theme/templates/extras/navbar.html
Normal file
21
theme/templates/extras/navbar.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand page-scroll" href="/">
|
||||
TheOrangeOne
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a class="page-scroll" href="/about/">About</a></li>
|
||||
<li><a class="page-scroll" href="/projects/">Projects</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
Reference in a new issue