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