mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 01:47:28 -05:00
@ -52,6 +52,36 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if or .NextInSection .PrevInSection }}
|
||||
<div class="prevnext">
|
||||
{{ with .NextInSection }}
|
||||
<a class="prev" href="{{ .Permalink }}">
|
||||
<div class="prev-caption">
|
||||
← Newer
|
||||
</div>
|
||||
<div class="prev-post">
|
||||
{{ .Title }}
|
||||
</div>
|
||||
</a>
|
||||
{{ else }}
|
||||
<div class="prev"></div>
|
||||
{{ end }}
|
||||
|
||||
{{ with .PrevInSection }}
|
||||
<a class="next" href="{{ .Permalink }}">
|
||||
<div class="next-caption">
|
||||
Older →
|
||||
</div>
|
||||
<div class="next-post">
|
||||
{{ .Title }}
|
||||
</div>
|
||||
</a>
|
||||
{{ else }}
|
||||
<div class="next"></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.comments }}
|
||||
{{ partial "comments.html" . }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user