aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-20 10:37:48 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-20 10:37:48 +0100
commiteb67ab58aa0e083729a4b4906b2522842ccf4954 (patch)
tree7f4a5447807387962b0bdbd5a598ae20c22c7c92 /layouts/posts
parent0cfb8a08a41e72670b271ab22a1ca10808efe597 (diff)
Refactor theme to use relative urls everywhere
Diffstat (limited to 'layouts/posts')
-rw-r--r--layouts/posts/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 67b770d..4756d74 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -3,7 +3,7 @@
{{ range sort .Paginator.Pages }}
<article>
<h2>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
<h5>
<strong>{{ .Date.Format "January 2, 2006" }}</strong>
@@ -11,7 +11,7 @@
<p class="markdown">
{{- .Summary -}}
{{ if .Truncated }}
- <a href="{{ .Permalink }}">...</a>
+ <a href="{{ .RelPermalink }}">...</a>
{{ end }}
</p>
</article>