summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-04-01 08:53:51 +0200
committerDennis Eriksen <d@ennis.no>2020-04-01 08:53:51 +0200
commitd41ea1051ae5d759806585319fdde19b110f21dc (patch)
tree72adce1ecda800e055446183a5307b52a86a34bb
parentadding atom feed (diff)
downloadrikerz-d41ea1051ae5d759806585319fdde19b110f21dc.tar.gz
relative links on front page
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index e70d111..8a7cffa 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -12,7 +12,7 @@
<h3 class="archive-title">{{ .Key }}</h3>
{{ range .Pages }}
<article class="list-item">
- <a href="{{ .Permalink }}" class="list-item-link">{{ .Title }}</a>
+ <a href="{{ .RelPermalink }}" class="list-item-link">{{ .Title }}</a>
<span class="list-item-date">{{ .Date.Format "January 2, 2006" }}</span>
</article>
{{ end }}