mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-16 18:05:01 +01:00
never use a submodule ever again
This commit is contained in:
parent
830045ee2f
commit
bf24af3431
77 changed files with 12557 additions and 1 deletions
23
blog/themes/terminal/layouts/partials/posts_pagination.html
Normal file
23
blog/themes/terminal/layouts/partials/posts_pagination.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{{ if or .NextInSection .PrevInSection }}
|
||||
<div class="pagination">
|
||||
<div class="pagination__title">
|
||||
<span class="pagination__title-h">{{ $.Site.Params.ReadOtherPosts }}</span>
|
||||
<hr />
|
||||
</div>
|
||||
<div class="pagination__buttons">
|
||||
{{ if .NextInSection }}
|
||||
<a href="{{ .NextInSection.Permalink }}" class="button inline prev">
|
||||
{{ .NextInSection.Title }}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if and .NextInSection .PrevInSection }}
|
||||
::
|
||||
{{ end }}
|
||||
{{ if .PrevInSection }}
|
||||
<a href="{{ .PrevInSection.Permalink }}" class="button inline next">
|
||||
{{ .PrevInSection.Title }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue