light-hugo/layouts/partials/footer.html
Alexander O 65d2bef432
change link to css to relative (#3)
* change link to css to relative

* change further site navigation links to relative links and site variables
2020-10-14 15:24:44 -04:00

20 lines
505 B
HTML

<div class="links">
<a href="{{.Site.BaseURL}}">Home</a>
{{ range first 1 (where .Site.Pages "Type" "post") }}
<a href="{{"/post/" | relURL}}">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>