mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Fixed amp pages
This commit is contained in:
parent
37dbee8a2f
commit
1964f176d2
19 changed files with 637 additions and 17 deletions
41
layouts/partials/footer.amp.html
Normal file
41
layouts/partials/footer.amp.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<footer>
|
||||
<p>
|
||||
© {{ 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>
|
Loading…
Add table
Add a link
Reference in a new issue