diff --git a/layouts/partials/page-single/post-meta-top.html b/layouts/partials/page-single/post-meta.html
similarity index 72%
rename from layouts/partials/page-single/post-meta-top.html
rename to layouts/partials/page-single/post-meta.html
index 1fd8ad9..983d470 100644
--- a/layouts/partials/page-single/post-meta-top.html
+++ b/layouts/partials/page-single/post-meta.html
@@ -1,21 +1,21 @@
{{ if ne .Params.showpagemeta false }}
- {{ if not .Date.IsZero -}}
-
{{ .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
- {{- end }}
+ {{ if not .Date.IsZero }}
+
{{ .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") }}
+ {{ end }}
- {{- with .Params.categories -}}
- {{- $total := len . -}}
- {{ if gt $total 0 -}}
+ {{ with .Params.categories }}
+ {{ $total := len . }}
+ {{ if gt $total 0 }}
in
- {{- $total := sub $total 1 -}}
- {{- range $i, $cat := sort . }}
+ {{ $total := sub $total 1 }}
+ {{ range $i, $cat := sort . }}
{{ $cat | upper }}
{{ if lt $i $total }}•{{ end }}
- {{- end -}}
- {{- end -}}
- {{- end -}}
+ {{ end }}
+ {{ end }}
+ {{ end }}
{{ with .Params.tags }}
{{ $total := len . }}
diff --git a/layouts/partials/page-single/post-meta-bottom.html b/layouts/partials/page-single/post-navigation.html
similarity index 64%
rename from layouts/partials/page-single/post-meta-bottom.html
rename to layouts/partials/page-single/post-navigation.html
index 1548841..874812b 100644
--- a/layouts/partials/page-single/post-meta-bottom.html
+++ b/layouts/partials/page-single/post-navigation.html
@@ -1,14 +1,17 @@
+{{ $enabledPostNavigation := .Site.Params.postNavigation | default true }}
+{{ if $enabledPostNavigation }}
{{ with .PrevInSection -}}
- {{ .Title }}
+ {{ .Title }}
{{- end }}
{{ with .NextInSection -}}
- {{ .Title }}
+ {{ .Title }}
{{- end }}
+{{ end }}