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:
authorJeremiah Succeed <ikwuje24@gmail.com>2019-01-05 02:41:14 +0300
committerGitHub <noreply@github.com>2019-01-05 02:41:14 +0300
commit6e67421eb9158cf251071ca5f6ff7529d4b884c1 (patch)
treed6d54f164469239da98435599345f03f5bacbb24
parentfd45d22e3f11173a906317846143ba1edd8e7490 (diff)
URL to RelParmalink
-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>