Fixed header and added footer to every page

This commit is contained in:
Brandon Rozek 2022-05-16 20:00:07 -04:00
parent b1fca5d62e
commit 713d4ed876
2 changed files with 56 additions and 1 deletions

View file

@ -4,6 +4,40 @@
Powered by <a href="https://gohugo.io/">Hugo</a>
using a modified version of the <a href="https://github.com/koirand/pulp/">pulp</a> theme.
</p>
<div class="footer-navs">
<nav>
<p>Content Pages</p>
<ul id="footer-nav-sections">
{{ range .Site.Sections }}
{{ if not .Params.hidden }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
</nav>
<nav>
<p>Social</p>
<ul>
{{ range .Site.Menus.profile }}
<li><a href="{{ .URL }}" rel="me" aria-label="{{ .Identifier }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</nav>
<nav>
<p>More Pages</p>
<ul>
{{ $sectionPages := where .Site.Pages "Section" "" }}
{{ range $sectionPages }}
{{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
</nav>
</div>
</footer>
<script type="application/ld+json">
{