mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Fixed header and added footer to every page
This commit is contained in:
parent
b1fca5d62e
commit
713d4ed876
2 changed files with 56 additions and 1 deletions
|
@ -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">
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue