🐛 Fixed the post's link URL.

This commit is contained in:
凡梦星尘
2022-06-16 17:39:16 +08:00
parent 2294f936e4
commit 78250ed508
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
<i class="fa fa-external-link-alt"></i>
</a>
{{- 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 }}
{{- else }}
{{- .Title }}