light-hugo/layouts/partials/footer.html

12 lines
317 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 "Type" "!=" "post" }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ end }}
<a href="#top">Top</a>
</div>
</body>
</html>