🔧 Try to fixed the Pre in section.

This commit is contained in:
凡梦星尘 2022-08-02 18:18:26 +08:00
parent fdd49ab3cb
commit bb70f5b6a5

View File

@ -25,15 +25,15 @@
<div class="post-nav">
<div class="post-nav-next post-nav-item">
{{- with .NextInSection }}
<a href="{{ .Permalink}}" rel="next" title="{{.Title}}">
<i class="fa fa-chevron-left"></i> {{.Title}}
<a href="{{ ..RelPermalink | relLangURL }}" rel="next" title="{{ .Title }}">
<i class="fa fa-chevron-left"></i> {{ .Title }}
</a>
{{- end }}
</div>
<div class="post-nav-prev post-nav-item">
{{- with .PrevInSection }}
<a href="{{ .Permalink}}" rel="prev" title="{{.Title}}">
{{.Title}}
<a href="{{ .RelPermalink | relLangURL }}" rel="prev" title="{{ .Title }}">
{{ .Title }}
<i class="fa fa-chevron-right"></i>
</a>
{{- end }}