🐛 Fixed the post's link URL.
This commit is contained in:
parent
2294f936e4
commit
78250ed508
@ -2,7 +2,7 @@
|
|||||||
{{- if $.IsHome }}
|
{{- if $.IsHome }}
|
||||||
{{- if and .Site.Params.readMoreBtn (not .Params.Expand) }}
|
{{- if and .Site.Params.readMoreBtn (not .Params.Expand) }}
|
||||||
<div class="post-button">
|
<div class="post-button">
|
||||||
<a class="btn" href="{{ .Permalink }}#more" rel="contents">
|
<a class="btn" href="{{ .RelPermalink | relLangURL }}#more" rel="contents">
|
||||||
{{ T "PostReadMore" }} »
|
{{ T "PostReadMore" }} »
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<i class="fa fa-external-link-alt"></i>
|
<i class="fa fa-external-link-alt"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<a href="{{ .Permalink }}" itemprop="url" class="post-title-link">{{ .Title }}</a>
|
<a href="{{ .RelPermalink | relLangURL }}" itemprop="url" class="post-title-link">{{ .Title }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- .Title }}
|
{{- .Title }}
|
||||||
|
Loading…
Reference in New Issue
Block a user