website-theme/layouts/partials/footer.html

55 lines
1.6 KiB
HTML

<footer>
<p>
&copy; {{ dateFormat "2006" now }} {{ .Site.Params.Author }}.
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 block-center">
<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">
{
"@context": "http://schema.org",
"@type": "Person",
"email": "mailto://{{ .Site.Params.email }}",
"image": "{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}",
"name": "{{ .Site.Params.Author }}",
"url": "{{ .Site.BaseURL }}"
}
</script>
<script async src="https://dash.brandonrozek.com/tracker.js" data-ackee-server="https://dash.brandonrozek.com" data-ackee-domain-id="41f92524-47ad-497b-b342-a8c296e4b11b"></script>
{{- range .Site.Params.custom_js -}}
<script src="{{ . }}"></script>
{{ end }}