about summary refs log tree commit diff
path: root/layouts/partials/post-navigation.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post-navigation.html')
-rw-r--r--layouts/partials/post-navigation.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/post-navigation.html b/layouts/partials/post-navigation.html
index b88d91f..edd1333 100644
--- a/layouts/partials/post-navigation.html
+++ b/layouts/partials/post-navigation.html
@@ -1,3 +1,4 @@
+{{ if not .IsSection}}
 <nav>
 	{{ if .NextInSection }}
 	<a class="nav-next" href="{{ .NextInSection.RelPermalink }}">{{ .NextInSection.Title }}</a>
@@ -7,3 +8,4 @@
 	<a  class="nav-prev"href="{{ .PrevInSection.RelPermalink }}">{{ .PrevInSection.Title }}</a>
 	{{ end }}
 </nav>
+{{ end }}