fix
This commit is contained in:
parent
b2b6e87a2b
commit
fc93162a0a
@ -10,6 +10,7 @@
|
||||
</div>
|
||||
</article>
|
||||
|
||||
{{ partial "next.html" . }}
|
||||
{{ partial "comment.html" . }}
|
||||
|
||||
</div>
|
||||
|
16
layouts/partials/next.html
Normal file
16
layouts/partials/next.html
Normal file
@ -0,0 +1,16 @@
|
||||
<nav id="article-nav">
|
||||
<div class="previnsection">
|
||||
<!--
|
||||
{{ if .PrevInSection }}
|
||||
<p><i class="fa-solid fa-circle-chevron-left"></i> <a href="{{ .PrevInSection.Permalink }}" id="article-nav-older" class="article-nav-link-wrap">
|
||||
{{ .PrevInSection.Title }}
|
||||
</a></p>
|
||||
{{ end }}
|
||||
-->
|
||||
{{ if .NextInSection }}
|
||||
<p><i class="fa-solid fa-circle-chevron-right"></i> <a href="{{ .NextInSection.Permalink }}" id="article-nav-newer" class="article-nav-link-wrap">
|
||||
{{ .NextInSection.Title }}
|
||||
</a></p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</nav>
|
Loading…
Reference in New Issue
Block a user