light-hugo/layouts/partials/footer.html
2017-04-19 16:32:28 -04:00

20 lines
474 B
HTML

<div class="links">
<a href="/">Home</a>
{{ range first 1 (where .Site.Pages "Type" "post") }}
<a href="/post/">Archive</a>
{{ end }}
{{ range where .Site.Pages "Section" "pages" }}
{{ if .IsPage }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
{{ end }}
<a href="#top">Top</a>
</div>
{{ partial "foot.html" . }}
{{ if .Site.Copyright }}
<p id="copyright">
{{ .Site.Copyright }}
</p>
{{ end }}
</body>
</html>