hugo-theme-terminal

My Fork of the Terminal Hugo Theme
git clone https://git.repetitions.de/hugo-theme-terminal

posts_pagination.html (771B)


 1 {{ if or .NextInSection .PrevInSection }}
 2 <div class="pagination">
 3     <div class="title">
 4         <span>{{ $.Site.Params.ReadOtherPosts }}</span>
 5         <hr />
 6     </div>
 7     <div class="buttons">
 8         {{ if .NextInSection }}
 9             <a class="button previous" href="{{ .NextInSection.Permalink }}">
10                 <span class="button_icon">←</span>
11                 <span class="button_text">{{ .NextInSection.Title }}</span>
12             </a>
13         {{ end }}
14         {{ if .PrevInSection }}
15             <a class="button next" href="{{ .PrevInSection.Permalink }}">
16                 <span class="button_text">{{ .PrevInSection.Title }}</span>
17                 <span class="button_icon">→</span>
18             </a>
19         {{ end }}
20     </div>
21 </div>
22 {{ end }}
23