diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d017884..702664e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -34,32 +34,9 @@ {{- end -}} - {{ if or .NextInSection .PrevInSection }} - + + {{ if eq .Type $.Site.Params.contentTypeName }} + {{ partial "posts_pagination.html" . }} {{ end }} {{ partial "comments.html" . }} diff --git a/layouts/partials/posts_pagination.html b/layouts/partials/posts_pagination.html new file mode 100644 index 0000000..04951d5 --- /dev/null +++ b/layouts/partials/posts_pagination.html @@ -0,0 +1,26 @@ +{{ if or .NextInSection .PrevInSection }} + +{{ end }} \ No newline at end of file