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:25:43 +0300
committerGitHub <noreply@github.com>2019-01-05 02:25:43 +0300
commitca093920bc86b8c437b1459b2840c86e349b1744 (patch)
treef07542b82ee083cc6a853ee38e373587b6c34a41
parentf7262e177ed3da4c89547c3ae824390f67c03225 (diff)
.Permalink
-rw-r--r--layouts/partials/post-list.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/post-list.html b/layouts/partials/post-list.html
index 48a8cd8..e846f02 100644
--- a/layouts/partials/post-list.html
+++ b/layouts/partials/post-list.html
@@ -1,6 +1,6 @@
{{ range where .Paginator.Pages "Section" "ne" "" }}
<article class="list">
- <a href='{{ .URL }}'><h2 class="title">{{ .LinkTitle }}</h2></a>
+ <a href='{{ .Permalink }}'><h2 class="title">{{ .LinkTitle }}</h2></a>
<span class="tags">
{{ .Date.Format "January 2, 2006" }}
{{ if .Params.tags }}
@@ -11,10 +11,10 @@
{{end}}
</span>
{{ if .Params.featuredImage }}
- <a href='{{ .URL }}'><span class="image" style="background-image: url({{.Params.featuredimage }})"></span></a>
+ <a href='{{ .Permalink }}'><span class="image" style="background-image: url({{.Params.featuredimage }})"></span></a>
{{ end }}
<span class="intro">{{ .Description | markdownify }}</span>
- <a href='{{ .URL }}' class="read-more">
+ <a href='{{ .Permalink }}' class="read-more">
{{ if .Site.Params.readMore }}
{{.Site.Params.readMore}}
{{ else }}