light-hugo/layouts/partials/footer.html

14 lines
347 B
HTML
Raw Normal View History

2016-11-02 23:10:49 -04:00
<div class="links">
<a href="/">Home</a>
2016-11-02 23:10:49 -04:00
{{ range first 1 (where .Site.Pages "Type" "post") }}
<a href="/post/">Archive</a>
2016-11-02 23:10:49 -04:00
{{ end }}
{{ range where .Site.Pages "Type" "!=" "post" }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
2016-11-02 23:10:49 -04:00
{{ end }}
<a href="#top">Top</a>
</div>
{{ partial "foot.html" . }}
2016-11-02 23:10:49 -04:00
</body>
</html>