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

github.com/nirocfz/arabica.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Fangzhou <fangzhou@fydeos.io>2019-09-29 13:11:08 +0300
committerChen Fangzhou <fangzhou@fydeos.io>2019-09-29 13:11:08 +0300
commite36d829b38cff470f7238abfeadf13917a9f7c53 (patch)
tree213451065df5fa0ec9b6abe0ec6b2e8029051af1
parent85cb54d065753cc4c24678a7cd6b948ad06ed68d (diff)
fix deprecated .URL warning
-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 8471545..392abb0 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -3,11 +3,11 @@
{{ with .Params.image }}
<img src="{{ . }}"></img>
{{ end }}
- <h2 class="post-title"><a href="{{ .URL }}">{{ .Title }}</a></h2>
+ <h2 class="post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
</header>
<section class="post-excerpt">
<p>
- {{ .Summary }} &hellip; <a class="read-more" href="{{ .URL }}">&raquo;</a>
+ {{ .Summary }} &hellip; <a class="read-more" href="{{ .RelPermalink }}">&raquo;</a>
</p>
</section>
<footer class="post-meta">