-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
{{- if and (default true .Site.Params.post.nav) (default true .Params.nav) (or .PrevInSection .NextInSection) -}} | ||
<div class="post-navs d-flex justify-content-evenly"> | ||
{{- with .PrevInSection -}} | ||
<div class="post-nav post-prev"> | ||
<i class="fas fa-fw fa-chevron-down post-prev-icon me-1" data-fa-transform="rotate-90"></i> | ||
<a href="{{ .Permalink }}">{{ partial "helpers/title" . }}</a> | ||
<div class="card-footer"> | ||
<div class="post-navs d-flex justify-content-evenly"> | ||
{{- with .PrevInSection -}} | ||
<div class="post-nav post-prev"> | ||
<i class="fas fa-fw fa-chevron-down post-prev-icon me-1" data-fa-transform="rotate-90"></i> | ||
<a href="{{ .Permalink }}">{{ partial "helpers/title" . }}</a> | ||
</div> | ||
{{- end -}} | ||
{{- with .NextInSection -}} | ||
<div class="post-nav post-next"> | ||
<a href="{{ .Permalink }}">{{ partial "helpers/title" . }}</a> | ||
<i class="fas fa-fw fa-chevron-down post-next-icon ms-1" data-fa-transform="rotate-270"></i> | ||
</div> | ||
{{- end -}} | ||
</div> | ||
{{- end -}} | ||
{{- with .NextInSection -}} | ||
<div class="post-nav post-next"> | ||
<a href="{{ .Permalink }}">{{ partial "helpers/title" . }}</a> | ||
<i class="fas fa-fw fa-chevron-down post-next-icon ms-1" data-fa-transform="rotate-270"></i> | ||
</div> | ||
{{- end -}} | ||
</div> | ||
{{- end -}} |