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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-20 18:27:32 +0300
committerHanzei <hanzei@mailbox.org>2018-07-20 18:27:32 +0300
commit8c258bbd0700e62be2feb5e516a4e6efe47e5776 (patch)
tree4692598ec2dec0439e63c9bff4e207dcc3b0c478 /layouts/blog
parentef5feab3ef4a66a03ccc89416303cfb6d5293a3a (diff)
Use abs URL every time
Diffstat (limited to 'layouts/blog')
-rw-r--r--layouts/blog/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index e1d1b66..c2c6583 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -8,14 +8,14 @@
{{ range first 1 .Pages.ByPublishDate.Reverse }}
<div class="summary">{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }}
<h3 class="title is-3 strong-post-title">
- <a href="{{ .RelPermalink }}">
+ <a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h3>
<div class="markdown">
{{ .Summary }}
{{ if .Truncated }}
- <a href="{{ .RelPermalink }}">{{ i18n "index_blog_readMore" . }}</a>
+ <a href="{{ .Permalink }}">{{ i18n "index_blog_readMore" . }}</a>
{{ end }}
</div>
</div>