aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/summary.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/summary.html')
-rw-r--r--layouts/post/summary.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
index c06e292..38c45f4 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -1,6 +1,6 @@
<article class="post">
<header class="post-header">
- <h1 class="post-title"><a class="post-link" href="{{ .URL }}">{{ .Title }}</a></h1>
+ <h1 class="post-title"><a class="post-link" href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
<div class="post-meta">
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
{{ with .Params.categories -}}
@@ -22,7 +22,7 @@
{{ .Summary }}
</div>
<div class="read-more">
- <a href="{{ .URL }}" class="read-more-link">{{ T "readMore" }}</a>
+ <a href="{{ .RelPermalink }}" class="read-more-link">{{ T "readMore" }}</a>
</div>
</div>
</article>