Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ijsucceed/onepress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/latest-posts.html')
-rw-r--r--layouts/partials/latest-posts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/latest-posts.html b/layouts/partials/latest-posts.html
index 4b4faa2..1716f81 100644
--- a/layouts/partials/latest-posts.html
+++ b/layouts/partials/latest-posts.html
@@ -5,7 +5,7 @@
{{ $othr := where $kind "URL" "!=" .URL }}
{{ range first 10 $othr }}
<li>
- <a href="{{ .URL }}">{{ .LinkTitle }}<aside class="dates">{{ .Date.Format "Jan 2 2006" }}</aside></a>
+ <a href="{{ .RelPermalink }}">{{ .LinkTitle }}<aside class="dates">{{ .Date.Format "Jan 2 2006" }}</aside></a>
</li>
{{ end }}
</ul>