1
Fork 0

Move navbar out of base

This commit is contained in:
Jake Howard 2016-05-21 21:58:01 +01:00
parent c3ae1a1db8
commit a1d105780f
2 changed files with 22 additions and 22 deletions

View file

@ -13,28 +13,7 @@
</head> </head>
<body id="page-top"> <body id="page-top">
{% block navbar %} {% block navbar %}
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top"> {% include "extras/navbar.html" %}
<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>
{% endblock %} {% endblock %}
{% block content %}{% endblock %} {% block content %}{% endblock %}

View 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>