Erster Entwurf
This commit is contained in:
commit
b5d27b3fc9
66 changed files with 11671 additions and 0 deletions
16
themes/mainroad/layouts/partials/post_nav.html
Normal file
16
themes/mainroad/layouts/partials/post_nav.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{{- if .Site.Params.post_navigation }}
|
||||
{{- if or (.PrevInSection) (.NextInSection) }}
|
||||
<nav class="post-nav row clearfix">
|
||||
{{- if .PrevInSection }}
|
||||
<div class="post-nav__item post-nav__item--prev col-1-2">
|
||||
<a class="post-nav__link" href="{{.PrevInSection.RelPermalink}}" rel="prev"><span class="post-nav__caption">« {{ T "post_nav_prev" }}</span><p class="post-nav__post-title">{{.PrevInSection.Title}}</p></a>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- if .NextInSection }}
|
||||
<div class="post-nav__item post-nav__item--next col-1-2">
|
||||
<a class="post-nav__link" href="{{.NextInSection.RelPermalink}}" rel="next"><span class="post-nav__caption">{{ T "post_nav_next" }} »</span><p class="post-nav__post-title">{{.NextInSection.Title}}</p></a>
|
||||
</div>
|
||||
{{- end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue