Fix multiple navbars, invalid burger

This commit is contained in:
James 2018-01-14 14:33:52 +11:00
parent ad74c9bfc1
commit b72ba619f9
2 changed files with 2 additions and 7 deletions

View File

@ -2,11 +2,6 @@
<div class="hero-body"> <div class="hero-body">
<section class="section"> <section class="section">
<div class="container"> <div class="container">
<!-- is-dark / is-light is set by hero.js for the homepage hero -->
<nav id="hero-navbar" class="navbar is-size-6 is-fixed-top" role="navigation" aria-label="main navigation">
{{ partial "layout/navbar_contents" . }}
</nav>
<div class="columns"> <div class="columns">
<!-- Left panel --> <!-- Left panel -->
<div class="column is-centered-vertically is-5"> <div class="column is-centered-vertically is-5">

View File

@ -4,11 +4,11 @@
<img class="navbar-logo" src="{{ .Site.BaseURL }}/images/menu.svg" alt="{{ .Site.Title }} {{ .Site.Params.Tagline }}"> <img class="navbar-logo" src="{{ .Site.BaseURL }}/images/menu.svg" alt="{{ .Site.Title }} {{ .Site.Params.Tagline }}">
</a> </a>
<button class="button navbar-burger" data-target="navMenu"> <div class="burger navbar-burger" data-target="navMenu">
<span></span> <span></span>
<span></span> <span></span>
<span></span> <span></span>
</button> </div>
</div> </div>
<div class="navbar-menu" id="navMenu"> <div class="navbar-menu" id="navMenu">
<div class="navbar-start"> <div class="navbar-start">