diff options
author | Darshan Baral <darshanbaral@gmail.com> | 2019-06-16 21:18:27 +0300 |
---|---|---|
committer | Darshan Baral <darshanbaral@gmail.com> | 2019-06-16 21:18:27 +0300 |
commit | 4e47f6032b610b5aacfc6fd58077b9e835f5a212 (patch) | |
tree | d9b61152ceda25d1ab26be60de510c9f72af6dfe | |
parent | 33e26c6385bde9f1d7c55675cc4fab61c7f51998 (diff) |
consolidated nav buttons
-rw-r--r-- | layouts/partials/prevnext.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/layouts/partials/prevnext.html b/layouts/partials/prevnext.html new file mode 100644 index 0000000..dc8fef3 --- /dev/null +++ b/layouts/partials/prevnext.html @@ -0,0 +1,24 @@ +<p class="mb-1 mt-1 text-left"> + {{ if .PrevInSection }} + <a + href="{{ .PrevInSection.Permalink | relURL }}" + title="{{ .PrevInSection.Title }}" + > + <i class="navMenu fas fa-chevron-circle-right"></i> + </a> + {{ else }} + <i class="navMenu-disabled fas fa-chevron-circle-right"></i> + {{ end }} +</p> +<p class="mb-1 mt-1 text-left"> + {{ if .NextInSection }} + <a + href="{{ .NextInSection.Permalink | relURL }}" + title="{{ .NextInSection.Title }}" + > + <i class="navMenu fas fa-chevron-circle-left"></i> + </a> + {{ else }} + <i class="navMenu-disabled fas fa-chevron-circle-left"></i> + {{ end }} +</p> |