link links can be relative

This commit is contained in:
Finn 2021-02-02 15:17:40 -08:00
parent efc76acd24
commit 71ce7b56f5
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{{ define "main" }}
<ul>
{{ range .Pages }}<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ range .Pages }}<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}