Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lopins committed Oct 31, 2024
1 parent 5c61d25 commit 416a5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/huishou/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ <h1 class="info-title">{{ .Title }}</h1>
</div>
<div class="info-page">
<ul>
{{ with .Prev }}
{{ with .Prev where .Site.RegularPages "Params.hidden" "!=" true }}
<li>上一篇:<a href="{{ .Permalink }}" class="prev"><span>{{ .Title }}</span></a></li>
{{ end }}
{{ with .Next }}
{{ with .Next where .Site.RegularPages "Params.hidden" "!=" true }}
<li>下一篇:<a href="{{ .Permalink }}" class="next"><span>{{ .Title }}</span></a></li>
{{ end }}
</ul>
Expand Down

0 comments on commit 416a5bc

Please sign in to comment.