Updated layout to account for proper positioning of container and content.

This commit is contained in:
Chris 2018-01-08 20:53:56 -05:00
parent d959bedf27
commit 277141cf2d
2 changed files with 5 additions and 2 deletions

View File

@ -32,8 +32,8 @@
{{ block "main" . }}{{ end }} {{ block "main" . }}{{ end }}
<div class="container">
<footer class="footer"> <footer class="footer">
<div class="container">
<div class="content has-text-centered"> <div class="content has-text-centered">
Copyright &copy; {{ now.Format "2006" }} {{ .Site.Params.ProjectName }} Copyright &copy; {{ now.Format "2006" }} {{ .Site.Params.ProjectName }}
</div> </div>

View File

@ -5,7 +5,7 @@
</a> </a>
</div> </div>
<div class="navbar-menu"> <div class="navbar-menu">
<div class="navbar-end"> <div class="navbar-start">
{{ $currentPage := . }} {{ range .Site.Menus.main }} {{ if .HasChildren }} {{ $currentPage := . }} {{ range .Site.Menus.main }} {{ if .HasChildren }}
<div class="navbar-item has-dropdown is-hoverable"> <div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-item"> <a class="navbar-item">
@ -28,6 +28,9 @@
{{ .Name }} {{ .Name }}
</a> </a>
{{ end }} {{ end }} {{ end }} {{ end }}
</div>
<div class="navbar-end">
<!-- Navbar icons --> <!-- Navbar icons -->
<a class="navbar-item is-hidden-desktop-only" href="{{ .Site.Params.DiscordURL }}" target="_blank"> <a class="navbar-item is-hidden-desktop-only" href="{{ .Site.Params.DiscordURL }}" target="_blank">
<span class="icon"> <span class="icon">